Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmElement::getMaterialIds Method
Syntax
C++
virtual OdResult getMaterialIds(OdBmObjectIdArray& value, bool returnPaintMaterials) const;

Retrieves the ids of all materials of the element. 

 

Parameters
Description
value
[out] The array of material ids as OdBmObjectIdArray.
returnPaintMaterials
[in] If true, method returns material ids assigned to element faces. If false, method returns materials associated through element geometry or compound structure layers.

eOk if the operation completed successfully, or an appropriate error code otherwise.

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