Click or drag to resize

IGH_ParamAddVolatileData Method

Inserts an item of volatile data into the data structure.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
bool AddVolatileData(
	GH_Path path,
	int index,
	Object data


Type: Grasshopper.Kernel.DataGH_Path
The branch path of the data. If the path doesn't exist yet, it will be created.
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.
Type: SystemObject
The data to store.

Return Value

Type: Boolean
True on success, False on failure. If the data cannot be converted, the topology will remain unmolested.
See Also