API Reference > OdDb Classes > OdDbDimension Class > OdDbDimension Methods > OdDbDimension::subSetAttributes Method
OdDbDimension::subSetAttributes Method
Syntax
C++
OdUInt32 subSetAttributes(OdGiDrawableTraits* pTraits) const;
Parameters 
Description 
OdGiDrawableTraits* pTraits 
[in] Pointer to the OdGiDrawableTraits object to be set. 

Sets the values of this object's subentity traits, and returns with the calling object's subentity traits. 

 

When overriding subSetAttributes(), you must OR (|) the return value of ::subSetAttributes(pTraits) with any flags you add. 

A derived class may not remove flags for any reason. 

The default implementation does nothing but returns kDrawableNone. This function can be overridden in custom classes.

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