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 
[in] Reference to an OdDbObjectId for returning the material object ID.
 

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

Returns the material of the specified subentity. 

 

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