GH_PersistentParamTSetPersistentData Method (GH_StructureT) |
Assign a tree of items to the persistent data.
This method will erase any existing data,
record an undo event,
raise the OnObjectChanged event for PersistentData flags and
place a call to ExpireSolution(False).
If you want to add a tree of data, you should use the appropriate overload for this method.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public void SetPersistentData(
GH_Structure<T> items
)
Public Sub SetPersistentData (
items As GH_Structure(Of T)
)
Parameters
- items
- Type: Grasshopper.Kernel.DataGH_StructureT
Items to add.
See Also