I am trying to use RhinoApp.Runscript inside a C# script.
When I hit the ‘Run’ button inside the ScriptEditor, it works perfectly.
However I would like to assign the script to a toolbar button, with the macro
-ScriptEditor _run “myscript.cs”
Then the script fails. Probably the command ScriptEditor should be a ScriptRunner command for it to work ?
Is there another way to execute a C# script from a toolbar button ?
3 posts - 2 participants