API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::setMaterialToSubents Method
OdModelerGeometry::setMaterialToSubents Method
Syntax
C++
virtual OdResult setMaterialToSubents(OdDbObjectId materialId) = 0;
Parameters 
Description 
OdDbObjectId materialId 
[in] New material.
 

Returns eOk if the new material value was successfully set or an appropriate error code in the other case.

Sets the material. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.