API Reference > Other Classes > OdModelerGeometry Class > OdModelerGeometry Methods > OdModelerGeometry::getSubentColor Method
OdModelerGeometry::getSubentColor Method
Syntax
C++
virtual OdResult getSubentColor(const OdDbSubentId & subentId, OdCmColor & color) const = 0;
Parameters 
Description 
const OdDbSubentId & subentId 
[in] ID of the subentity.  
OdCmColor & color 
[in] A reference to an OdCmColor object to store the current color of the specified subentity.
 

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

Returns the color of the specified subentity. 

 

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