API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::setSubentColor Method
OdModelerGeometry::setSubentColor Method
Syntax
C++
virtual OdResult setSubentColor(const OdDbSubentId & subentId, const OdCmColor & color) = 0;
Parameters 
Description 
const OdDbSubentId & subentId 
[in] ID of the subentity (face or edge) to be colored.  
const OdCmColor & color 
[in] Color value to set.
 

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

Sets the color of the specified face or edge subentity. 

 

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