Description:
Deletes layers.
Description:
Deletes layer.
Parameters:
- layerIndex
- Type: int
- zero based index of layer to delete. This must be in the range 0 <= layerIndex < LayerTable.Count.
- quiet
- Type: bool
- If true, no warning message box appears if a layer the layer cannot be deleted because it is the current layer or it contains active geometry.
Returns:
Type: bool
True if successful. False if layerIndex is out of range or the layer cannot be deleted because it is the current layer or because it layer contains active geometry.
Available since:
5.0
Description:
Deletes layer.
Parameters:
- layer
- Type: Layer
- Layer to be deleted.
- quiet
- Type: bool
- If true, no warning message box appears if a layer the layer cannot be deleted because it is the current layer or it contains active geometry.
Returns:
Type: bool
True if successful. False if layerIndex is out of range or the layer cannot be deleted because it is the current layer or because it layer contains active geometry.
Available since:
6.0
Description:
Deletes layer.
Description:
Deletes layer.
Parameters:
- layerId
- Type: System.Guid
- Id of the layer to be deleted.
- quiet
- Type: bool
- If true, no warning message box appears if a layer the layer cannot be deleted because it is the current layer or it contains active geometry.
Returns:
Type: bool
True if successful. False if layerIndex is out of range or the layer cannot be deleted because it is the current layer or because it layer contains active geometry.
Available since:
6.0