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) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool Undelete(
	int layerIndex
)

Parameters

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.
See Also