Share

AcDbLayerStateManager::getLayerStateMask

C++

Acad::ErrorStatus getLayerStateMask(
    const ACHAR * sName, 
    LayerStateMask & returnMask
);

Description

Gets the mask for the named 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 layer state name
returnMask Returned layer state mask

Links

AcDbLayerStateManager

Was this information helpful?