Click or drag to resize

PythonScriptExecuteFile Method

Executes a Python file.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract bool ExecuteFile(
	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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.11
See Also