Share

AcDbEntity::materialId

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().

Links

AcDbEntity

Was this information helpful?