API Reference > OdIfc Namespace > Classes > OdIfcProduct Class > OdIfcProduct Methods > OdIfcProduct::subSetAttributes Method
OdIfcProduct::subSetAttributes Method
Syntax
C++
OdUInt32 subSetAttributes(OdGiDrawableTraits * traits) const;
Parameters 
Description 
OdGiDrawableTraits * traits 
[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.