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
)
Protected Function GetValue (
valueName As String,
default As Boolean
) As Boolean
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:
BooleanThe boolean value with the given name of the default value.
See Also