Grasshopper API
GH_Item Constructor (String, GH_Interval2D) |
Construct a new instance of GH_Item with the specified name and value.
Namespace: GH_IO.Types
Assembly: GH_IO (in GH_IO.dll)

public GH_Item( string item_name, GH_Interval2D item_data )
Public Sub New ( item_name As String, item_data As GH_Interval2D )
Parameters
- item_name
- Type: SystemString
Name of new item. - item_data
- Type: GH_IO.TypesGH_Interval2D
Value of new item.

Exception | Condition |
---|---|
ArgumentNullException | Thrown if the specified name string is null or empty. |
