Grasshopper API
GH_DocumentGH_UndoUtilCreateWireEvent Method (String, IEnumerableIGH_Param) |
Create a new undo record for a set of Connector wire changes.
This function must be called before the wires are changed.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public GH_UndoRecord CreateWireEvent( string name, IEnumerable<IGH_Param> params )
Public Function CreateWireEvent ( name As String, params As IEnumerable(Of IGH_Param) ) As GH_UndoRecord
Parameters
- name
- Type: SystemString
Name of undo record. - params
- Type: System.Collections.GenericIEnumerableIGH_Param
Target parameters for undo record.
Return Value
Type: GH_UndoRecordA newly created undo record.
