GH_DocumentObject.GetValue Method (String, String)

GH_DocumentObjectGetValue Method (String, String)

Get a string value from the component value table.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
protected string GetValue(
	string valueName,
	string default
)
Protected Function GetValue ( 
	valueName As String,
	default As String
) As String

Parameters

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

Return Value

Type: String
The string value with the given name of the default value.
See Also