Grasshopper API
GH_DocumentGH_UndoUtilCreateAddObjectEvent Method (String, IEnumerableIGH_DocumentObject) |
Create a new undo record for a bunch of object additions.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public GH_UndoRecord CreateAddObjectEvent( string name, IEnumerable<IGH_DocumentObject> objs )
Public Function CreateAddObjectEvent ( name As String, objs As IEnumerable(Of IGH_DocumentObject) ) As GH_UndoRecord
Parameters
- name
- Type: SystemString
Name of undo record. - objs
- Type: System.Collections.GenericIEnumerableIGH_DocumentObject
Objects to be added.
Return Value
Type: GH_UndoRecordA newly created undo record.
