C++
Acad::ErrorStatus deleteLayerState( const ACHAR * sName );
Description
Deletes the specified layer state.
This method returns Acad::eOk on success and Acad::eKeyNotFound if the passed-in layer state name is not found in the layer state dictionary. Other Acad::ErrorStatus values unequal to Acad::eOk can come from internal calls to AcDbObject::erase() while erasing the Xrecord and acdbOpenObject() while opening the layer states dictionary.
Parameters
Parameters | Description |
---|---|
sName | Input layer state name to delete |