API Reference > OdDb Classes > OdDbSubDMesh Class > OdDbSubDMesh Methods > OdDbSubDMesh::getSubentColor Method
OdDbSubDMesh::getSubentColor Method
Syntax
C++
OdResult getSubentColor(const OdDbSubentId& id, OdCmColor& color) const;
Parameters 
Description 
const OdDbSubentId& id 
[in] Id of a subentity.  
OdCmColor& color 
[out] Color of a subentity.  

eOk if the operation completed successfully, or an appropriate error code otherwise.

Retrieves the color of a given subentity. 

 

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