Grasshopper API
GH_PersistentParamTSetPersistentData Method (IEnumerableT) |
Assign a list 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)

public void SetPersistentData( IEnumerable<T> items )
Public Sub SetPersistentData ( items As IEnumerable(Of T) )
Parameters
- items
- Type: System.Collections.GenericIEnumerableT
Items to add.
