How to Load and control Rhino with RhinoCommon outside Rhino?


#1

Dear,…
In rhino .Net(rhino4)
Dim objRhino As Object
Set objRhino = CreateObject(“Rhino4.Interface”)
is possible, so I can load Rhino from solidworks or other custom program.
but I do now know how to with Rhino Common.
There are many examples but only works when Rhino is already loaded and as Rhino Plug-in.
can not load Rhino, and can not control rhino outside rhino. There is no such CreateObject(“Rhino4.Interface”)
or getObject(“Rhino4.Interface”)

Please help me!..


(Menno Deij - van Rijswijk) #2

Check out this example, it seems to be what you are looking for. https://github.com/mcneel/rhinocommon/tree/master/examples/AutomationSample