Grasshopper API
GH_IReaderTryGetSingle Method (String, Int32, Single) |
Gets the value of the item with the specified name and index.
Name comparison is not case-sensitive.
Namespace: GH_IO.Serialization
Assembly: GH_IO (in GH_IO.dll)

bool TryGetSingle( string item_name, int item_index, ref float value )
Function TryGetSingle ( item_name As String, item_index As Integer, ByRef value As Single ) As Boolean
Parameters
- item_name
- Type: SystemString
Name of item to retrieve. - item_index
- Type: SystemInt32
Index of item to retrieve. - value
- Type: SystemSingle
Target of assignment.
Return Value
Type: BooleanTrue if the value was set.
