So I followed this guide here http://wiki.mcneel.com/developer/sdksamples/rhinoscriptfromdotnet
I know its outdated, as that function does not work now. But I did get it to work anyways.
What I have noticed is that some calls don’t work properly.
Example:
Dim go
go = rs.ObjectsByName(“BOAT MAKE”, True)
rs.TextObjectText(go, “Hello from .net!”)
This just crashes the plugin. The error I get is “String Required” .
Crazy right?
It will select the object named BOAT MAKE, but as soon as it changes the text, it crashes.
Whats REALLY funny, is if you replace go with a string, it dose not crash the plugin… but it also does nothing to the selected object obviously…
Anyone ever tried messing with this before?