Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLayerState::saveGroup Method
Syntax
C++
static OdResult saveGroup(OdDbDatabase * pDb, const OdString & sName, const OdDbObjectIdArray& pLayers, int mask = OdDbLayerStateManager::kOn, int includedLayersState = OdDbLayerStateManager::kOn, int otherLayersState = OdDbLayerStateManager::kNone);

Creates a layer state where specified layers are assigned one state (e.g. ON), and all the others are assigned other state (e.g. OFF). 

 

Parameters
Description
pDb
[in] Pointer to the database.
mask
[in] created
layerStateName
[in] LayerState name.
layerIds
[in] Array of object Ids of layers to be added to the layer state

eOk if operation succeeded; error code otherwise.

Copyright © 2002-2022. Open Design Alliance All rights reserved.