C++
AcDbObjectId materialId() const;
Description
Returns the ID of the associated AcDbMaterial object.
Note the caller can determine if material assignment is "ByLayer" by comparing the result to the id returned by AcDbDatabase::byLayerMaterial().
AcDbObjectId materialId() const;
Returns the ID of the associated AcDbMaterial object.
Note the caller can determine if material assignment is "ByLayer" by comparing the result to the id returned by AcDbDatabase::byLayerMaterial().