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

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

Sets the color of a given subentity. 

 

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