API Reference > OdIfc Namespace > Classes > OdIfcProject Class > OdIfcProject Methods > OdIfcProject::subSetAttributes Method
OdIfcProject::subSetAttributes Method
Syntax
C++
OdUInt32 subSetAttributes(OdGiDrawableTraits* pTraits) const;
Parameters 
Description 
OdGiDrawableTraits* pTraits 
[in] A raw pointer to the OdGiDrawableTraits object to be set.  

A set of flags represented with an unsigned 32-bit integer value.

Sets the values of the object's subentity traits, and returns the object's subentity traits to the calling subroutine.

When re-implementing this method, use the "or" bit operation (|) for the return value of the parent class' subSetAttributes() method and any flags you have added.

OdGiDrawableTraits class documentation.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.