Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5746

RunScript with python outside of the scripteditor

$
0
0

@Felix1 wrote:

i try to run the export command with a pytthon script. If i running the script in debug_mode from the editor it is working fine

Rhino.RhinoApp.RunScript(command, True) returns True

but if i link the script to a button it stop working.

Rhino.RhinoApp.RunScript(command, True) returns False

I think it is part of this problem: http://developer.rhino3d.com/guides/rhinocommon/run-rhino-command-from-plugin/

The problem is that i dont know how to implement this with python

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5746

Trending Articles