Grasshopper API
GH_IReaderTryGetInterval1D Method (String, Int32, GH_Interval1D) |
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 TryGetInterval1D( string item_name, int item_index, ref GH_Interval1D value )
Function TryGetInterval1D ( item_name As String, item_index As Integer, ByRef value As GH_Interval1D ) As Boolean
Parameters
- item_name
- Type: SystemString
Name of item to retrieve. - item_index
- Type: SystemInt32
Index of item to retrieve. - value
- Type: GH_IO.TypesGH_Interval1D
Target of assignment.
Return Value
Type: BooleanTrue if the value was set.
