LayerTableUndelete Method |
Undeletes a layer that has been deleted by DeleteLayer().
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic 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.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also