Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLayerTableRecord::setMaterialId Method
Syntax
C++
void setMaterialId(OdDbObjectId idMaterial);

Sets the ID of the material object for the layer record object (DXF 347) as an ObDbObjectId instance. This method associates layer and material. The initial value associates the layer with the "Global" material by default. 

 

Parameters
Description
idMaterial
[in] Object ID of the material object to associate it with the layer, or OdDb::kNull to disassociate the layer and material.
Copyright © 2002-2022. Open Design Alliance All rights reserved.