Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbEntity::setLayer Method (const OdString&, bool, bool)
Syntax
C++
virtual OdResult setLayer(const OdString& layerName, bool doSubents = true, bool allowHiddenLayer = false);

Sets the layer to be referenced by this entity (DXF 8). 

 

Parameters
Description
layerName
[in] Name of the layer.
doSubents
[in] If and only if true, applies the change to all sub-entities owned by this entity.

Returns eOk if successful, or an appropriate error code if not.

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