C++
AcDbObjectId cmaterial() const;
Description
The default material assignment is "ByLayer". That is, by default, this function returns the same object ID as byLayerMaterial().
Returns the object ID of the current material.
AcDbObjectId cmaterial() const;
The default material assignment is "ByLayer". That is, by default, this function returns the same object ID as byLayerMaterial().
Returns the object ID of the current material.