GH_Document.GH_UndoUtil.CreateWireEvent Method (String, IGH_Param)

GH_DocumentGH_UndoUtilCreateWireEvent Method (String, IGH_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)
Syntax
public GH_UndoRecord CreateWireEvent(
	string name,
	IGH_Param param
)
Public Function CreateWireEvent ( 
	name As String,
	param As IGH_Param
) As GH_UndoRecord

Parameters

name
Type: SystemString
Name of undo record.
param
Type: Grasshopper.KernelIGH_Param
Target object for undo record.

Return Value

Type: GH_UndoRecord
A newly created undo record.
See Also