IGH_ParamAddVolatileData Method |
Inserts an item of volatile data into the data structure.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax bool AddVolatileData(
GH_Path path,
int index,
Object data
)
Function AddVolatileData (
path As GH_Path,
index As Integer,
data As Object
) As Boolean
Parameters
- path
- Type: Grasshopper.Kernel.DataGH_Path
The branch path of the data. If the path doesn't exist yet, it will be created. - index
- Type: SystemInt32
The item index of the data. If the path doesn't contain the index yet,
it will be enlarged to encompass the index. - data
- Type: SystemObject
The data to store.
Return Value
Type:
BooleanTrue on success, False on failure. If the data cannot be converted, the topology will remain unmolested.
See Also