API Reference > OdDb Classes > OdDb3dSolid Class > OdDb3dSolid Methods > OdDb3dSolid::getSubentMaterial Method
OdDb3dSolid::getSubentMaterial Method
Syntax
C++
virtual OdResult getSubentMaterial(const OdDbSubentId & subentId, OdDbObjectId& matId) const;
Parameters 
Description 
const OdDbSubentId & subentId 
[in] Subentity ID.  
OdDbObjectId& matId 
[in] Reference to an OdDbObjectId for returning the material object ID.
 

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

Returns the material of the specified subentity. 

 

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