Click or drag to resize

LayerTableUndelete Method

Undeletes a layer that has been deleted by DeleteLayer().

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
public bool Undelete(
	int layerIndex


Type: SystemInt32
zero based index of layer to undelete. This must be in the range 0 <= layerIndex < LayerTable.Count.

Return Value

Type: Boolean
true if successful.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.22
See Also