Click or drag to resize

PythonScript Methods

The PythonScript type exposes the following members.

Public methodCompile
Compiles a class in a quick-to-execute proxy.
Public methodContainsVariable
Determines if the main scripting context has a variable with a name.
Public methodStatic memberCreate
Constructs a new Python script context.
Public methodCreateTextEditorControl
Creates a control where the user is able to type Python code.
Public methodEquals (Inherited from Object.)
Public methodEvaluateExpression
Evaluates statements and an expression in the main scripting context.
Public methodExecuteFile
Executes a Python file.
Public methodExecuteScript
Executes a Python string.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetStackTraceFromException
Retrieves a meaningful representation of the call stack.
Public methodGetType (Inherited from Object.)
Public methodGetVariable
Gets the object associated with a variable name in the main scripting context.
Public methodGetVariableNames
Retrieves all variable names in the script.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveVariable
Removes a defined variable from the main scripting context.
Public methodSetIntellisenseVariable
Sets a variable for runtime introspection.
Public methodSetupScriptContext
Setups the script context. Use a RhinoDoc instance unless unsure.
Public methodSetVariable
Sets a variable with a name and an object. Object can be null (Nothing in Visual Basic).
Public methodToString (Inherited from Object.)
See Also