Executes a Python file. The file is executed in a new, __main__ scope.
RhinoCommon (in RhinoCommon.dll)
public abstract bool ExecuteFile(
Public MustOverride Function ExecuteFile (
path As String
) As Boolean
- Type: SystemString
The path to the file.
true if the file executed. This method can throw scripting-runtime based exceptions.