RhinoCommon API
PythonScriptExecuteFileInScope Method |
Executes a Python file in the calling script scope. All old variables are kept.
Namespace: Rhino.Runtime
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 7.0

public abstract bool ExecuteFileInScope( string path )
Public MustOverride Function ExecuteFileInScope ( path As String ) As Boolean
Parameters
- path
- Type: SystemString
The path to the file.
Return Value
Type: Booleantrue if the file executed. This method can throw scripting-runtime based exceptions.
