API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::setSubentColor Method
OdDb3dSolid::setSubentColor Method
Syntax
C++
virtual OdResult setSubentColor(const OdDbSubentId & subentId, const OdCmColor & color);
Parameters 
Description 
const OdDbSubentId & subentId 
[in] ID of 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 other case.

Sets the color of the specified face or edge subentity. 

 

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