API Reference > Classes > Geometry Classes > OdBmGStyle Class > OdBmGStyle Methods > OdBmGStyle::setMaterialElemId Method
OdBmGStyle::setMaterialElemId Method
Syntax
C++
OdResult setMaterialElemId(const OdBmObjectId&);
Parameters 
Description 
OdBmObjectId 
[in] Input ID of an element material.
 

Returns eOk if successful or an appropriate error code in the other case.

Sets an ID of an element material to this object. 

 

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