API Reference > OdDb Classes > OdDbLayerTableRecord Class > OdDbLayerTableRecord Methods > OdDbLayerTableRecord::materialId Method
OdDbLayerTableRecord::materialId Method
Syntax
C++
OdDbObjectId materialId() const;

Returns the ID of the material object associated with the layer record object (DXF 347) or OdDb::kNULL when the layer is not associated with material. This material is used when the Material property of an entity belonged to this layer is set to ByLayer value.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.