Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbEntity::setTransparency Method
Syntax
C++
virtual OdResult setTransparency(const OdCmTransparency& transparency, bool doSubents = true);

Sets the transparency setting of this entity, and returns eOk if successful. 

 

Parameters
Description
transparency
[in] OdCmTransparency object be assigned.
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. 

If you override this function, you must call OdDbEntity::setTransparency(), passing to it the calling arguments.

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