Grasshopper API
GH_Item Constructor (String, Double) |
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, double item_data )
Public Sub New ( item_name As String, item_data As Double )
Parameters
- item_name
- Type: SystemString
Name of new item. - item_data
- Type: SystemDouble
Value of new item.
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if the specified name string is null or empty. |