RhinoCommon API
LayerTableUndelete Method |
Undeletes a layer that has been deleted by DeleteLayer().
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public bool Undelete( int layerIndex )
Public Function Undelete ( layerIndex As Integer ) As Boolean
Parameters
- layerIndex
- Type: SystemInt32
zero based index of layer to undelete. This must be in the range 0 <= layerIndex < LayerTable.Count.
Return Value
Type: Booleantrue if successful.
