API Reference > OdDb Classes > OdDbSurface Class > OdDbSurface Methods > OdDbSurface::getSubentMaterial Method
OdDbSurface::getSubentMaterial Method
Syntax
C++
virtual OdResult getSubentMaterial(const OdDbSubentId& subentId, OdDbObjectId& matId) const;
Parameters 
Description 
const OdDbSubentId& subentId 
[in] ID of the subentity.  
OdDbObjectId& matId 
[out] Material of the subentity.
 

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

Retrieves the material of a given subentity. 

 

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