API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::freezeLayersInViewport Method
OdDbViewport::freezeLayersInViewport Method
Syntax
C++
void freezeLayersInViewport(const OdDbObjectIdArray& layerIds);
Parameters 
Description 
const OdDbObjectIdArray& layerIds 
[in] Object IDs of the layers to be frozen. 

Freezes the specified layers in this Viewport object (DXF 341) 

 

Other viewports are unaffected by this function.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.