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

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

Sets a material ID to this object. 

 

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