Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbEntity::setColorId Method
Syntax
C++
virtual OdResult setColorId(OdDbObjectId colorId, bool doSubents = true);

Assigns the specified OdDbColor object to this entity. 

 

Parameters
Description
colorId
[in] Object ID of the OdDbColor object.
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.