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

eOk if successful or an appropriate error code otherwise.

Returns the material of the specified subentity. 

 

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