Click or drag to resize

PythonScriptSetVariable Method

Sets a variable with a name and an object. Object can be null (Nothing in Visual Basic).

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public abstract void SetVariable(
	string name,
	Object value
)

Parameters

name
Type: SystemString
A valid variable name in Python.
value
Type: SystemObject
A valid value for that variable name.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also