KeyedValues
ReferencesA class for maintaining a mutable and overwritable set of named values to be used inside document objects.
Constructors
Properties
Methods
DeleteWildcard
#Remove all values whose name matches a wildcard string.
Parameters:
| keyPattern (string) | Wildcard for key removal. |
Get
#Get a boolean value.
Get
#Get a date value.
Get
#Get a numeric value.
Get
#Get an integer value.
Get
#Get a text value.
Get
#Get a time value.
Rename
#Rename a value.
Set
#Set a date value.
Set
#Set a number value.
Set
#Set a GrasshopperIO storable value.
Set
#Set a time value.
Transfer
#Transfer all values which match a key naming pattern from another collection. For a value to be transferred it must have identical keys in both collections.
Parameters:
| other (KeyedValues) | Collection to copy from. |
| keyPattern (string) | Wildcard pattern for key matching. |
Returns: Number of values copied.