Click or drag to resize

LayerTableUndoModify Method (Int32, UInt32)

Restores the layer to its previous state, if the layer has been modified and the modification can be undone.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool UndoModify(
	int layerIndex,
	uint undoRecordSerialNumber


Type: SystemInt32
The layer index to be used.
Type: SystemUInt32
The undo record serial number. Pass 0 not to specify one.

Return Value

Type: Boolean
true if this layer had been modified and the modifications were undone.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.27
See Also