Click or drag to resize

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
Syntax
public abstract bool ExecuteFileInScope(
	string path
)

Parameters

path
Type: SystemString
The path to the file.

Return Value

Type: Boolean
true if the file executed. This method can throw scripting-runtime based exceptions.
See Also