Click or drag to resize

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
)

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: Double
The double value with the given name of the default value.
See Also