Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8676

Issue with RunScript in Rhino6

$
0
0

@Alexandre_Beaudet wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8676

Trending Articles