Close

Relief for ODA Team in Ukraine

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

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 in other case.

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

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