RhinoCommon API
PythonScriptExecuteScript Method |
Executes a Python string.
Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll)

public abstract bool ExecuteScript( string script )
Public MustOverride Function ExecuteScript ( script As String ) As Boolean
Parameters
- script
- Type: SystemString
A Python text.
Return Value
Type: Booleantrue if the file executed. This method can throw scripting-runtime based exceptions.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14