GH_DocumentObjectGetValue Method (String, Double) |
Get a double value from the component value table.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax protected double GetValue(
string valueName,
double default
)
Protected Function GetValue (
valueName As String,
default As Double
) As Double
Parameters
- valueName
- Type: SystemString
Name of double to retrieve. - default
- Type: SystemDouble
Default value to return in case of missing named value.
Return Value
Type:
DoubleThe double value with the given name of the default value.
See Also