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.
 

eOk if the new material value was successfully set or an appropriate error code otherwise.

Sets the material for subentities. 

 

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