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

Returns the color of the specified subentity. 

 

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