PythonScript.GetVariable Method
Click or drag to resize

PythonScriptGetVariable Method

Gets the object associated with a variable name in the main scripting context.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract Object GetVariable(
	string name
)

Parameters

name
Type: SystemString
A variable name.

Return Value

Type: Object
The variable object.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.7
See Also