C++
Acad::ErrorStatus setLayerStateMask( const ACHAR * sName, LayerStateMask mask );
Description
Updates the mask used when restoring a layer state.
Return Value | Description |
---|---|
Acad::eOk | Successful operation |
Acad::eWrongObjectType | The passed in layer state name refers to something other than an Xrecord |
Acad::eKeyNotFound | The passed in layer state name is not found in the layer state dictionary, or the mask data was not found in the layer state Xrecord |
Other possible Acad::ErrorStatus values unequal to Acad::eOk can come from an internal call to acdbOpenObject() while opening the layer states dictionary.
Parameters
Parameters | Description |
---|---|
sName | Input name of layer state to mask |
mask | Input mask to apply to layer state |