Grasshopper API
GH_DocumentObjectGetValue Method (String, Boolean) |
Get a boolean value from the component value table.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)
protected bool GetValue( string name, bool default )
Protected Function GetValue ( name As String, default As Boolean ) As Boolean
Parameters
- name
- 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.