C++
ACDBCORE2D_PORT AcDbObjectId materialDictionaryId() const;
Description
Retrieves the object ID of the ACAD_MATERIAL dictionary, which contains objects of type AcDbMaterial.
The material dictionary is a central repository for all materials, allowing materials to be shared among multiple entities.