Click or drag to resize

GH_DocumentObjectGetValue Method (String, Int32)

Get an integer value from the component value table.

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

Parameters

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

Return Value

Type: Int32
The integer value with the given name of the default value.
See Also