Click or drag to resize

GH_DocumentObjectGetValue Method (String, Boolean)

Get a boolean value from the component value table.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
protected bool GetValue(
	string valueName,
	bool default
)

Parameters

valueName
Type: SystemString
Name of boolean to retrieve.
default
Type: SystemBoolean
Default value to return in case of missing named value.

Return Value

Type: Boolean
The boolean value with the given name of the default value.
See Also