Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbSubDMesh::setSubentMaterial Method
Syntax
C++
OdResult setSubentMaterial(const OdDbSubentId& id, const OdDbObjectId& material);

Sets the material of a given subentity. 

 

Parameters
Description
id
[in] ID of the subentity.
material
[in] Material to be set to the subentity.

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

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