PythonScript Methods |
The PythonScript type exposes the following members.
Name | Description | |
---|---|---|
AddRuntimeAssembly |
Add assembly to list of assemblies used by python
| |
Compile |
Compiles a class in a quick-to-execute proxy.
| |
ContainsVariable |
Determines if the main scripting context has a variable with a name.
| |
Create |
Constructs a new Python script context.
| |
CreateTextEditorControl |
Creates a control where the user is able to type Python code.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvaluateExpression |
Evaluates statements and an expression in the main scripting context.
| |
ExecuteFile |
Executes a Python file. The file is executed in a new, __main__ scope.
| |
ExecuteFileInScope |
Executes a Python file in the calling script scope. All old variables are kept.
| |
ExecuteScript |
Executes a Python string.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSearchPaths | Protected helper function for static SearchPaths | |
GetStackTraceFromException |
Retrieves a meaningful representation of the call stack.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVariable |
Gets the object associated with a variable name in the main scripting context.
| |
GetVariableNames |
Retrieves all variable names in the script.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveVariable |
Removes a defined variable from the main scripting context.
| |
RuntimeAssemblies |
Get list of assemblies used by python for library browser and
inclusion into the runtime
| |
SetIntellisenseVariable |
Sets a variable for runtime introspection.
| |
SetSearchPaths | Protected helper function for static SearchPaths | |
SetupScriptContext |
Setups the script context. Use a RhinoDoc instance unless unsure.
| |
SetVariable |
Sets a variable with a name and an object. Object can be null (Nothing in Visual Basic).
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |