Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmCompoundStructure::setMaterialId Method
Syntax
C++
OdResult setMaterialId(const OdUInt32 layerIndex, const OdBmObjectId& materialId);

Sets a material id of a layer. 

 

Parameters
Description
layerIndex
[in] Index of a layers, which material needs to be obtained.
materialId
[in] Id of a material to be set to a layer.

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

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