Share
 
 

Materials Collection (ActiveX)

The collection of all materials in the drawing.

Supported Platforms: Windows only

Class Information

Class Name

AcadMaterials

Object Inheritance
Object
   AcadObject
      AcadMaterials
Create Using

VBA

Not applicable
Access Via

VBA

Database.Materials

Remarks

Use the Materials object to access materials defined in a drawing. You can create new materials by using the Add method.

Although the Materials collection inherits a Delete method, you cannot actually delete the collection. Attempting to delete this collection will result in an error. The Delete method has been removed from the documentation for this collection.

Was this information helpful?