Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::setSubentMaterial Method
Syntax
C++
virtual OdResult setSubentMaterial(const OdDbSubentId & subentId, OdDbObjectId matId) = 0;

Sets a material for the specified subentity. 

 

Parameters
Description
subentId
[in] Subentity ID.
matId
[in] Object ID for the material.

eOk if successful or an appropriate error code otherwise.

To remove the currently assigned material, set the matId parameter value to NULL.

Copyright © 2002-2022. Open Design Alliance All rights reserved.