In a Python script, I can add a reference to my plugin dll, and use the plugin classes in the script, as in the following example script. Is there a way to get the same functionality in a C# script ?
#! python 3
import rhinoscriptsyntax as rs
import Rhino
import clr
clr.AddReference(“<plugin_path>\MyPlugin.rhp”)
import MyPlugind = MyPlugin.SomeClass()
d.SomeProperty= “a”
Any suggestions are welcome.
1 post - 1 participant