Hello,
I’m having an issue with my plugin.
It was working in Rhino 5 but not anymmore.
I needed to get the list of LayerStates that are saved so I used the command _-LayerStateManager to export them to a temporary file ; then read that file to generate a list of LayerState in my program.
Calling _-LayerStateManager Export <some_path> _Enter
works fine when using the command panel in Rhinoceros, but it doesn’t do anything (anymore) when called from my plugin.
The method Rhino.RhinoApp.RunScript
returns false
all the time, and my temporary file remains empty …
Am I missing something ?
Have things changed since Rhino 5 regarding script execution ?
Thanks,
Alexandre