Understand the AutoCAD Object Model

AutoCAD ActiveX

 
Understand the AutoCAD Object Model
 
 
 

An object is the main building block of the AutoCAD® ActiveX® interface. Each exposed object represents a precise part of AutoCAD. There are many different types of objects in the AutoCAD ActiveX interface. For example:

  • Graphical objects such as lines, arcs, text, and dimensions are objects.
  • Style settings such as linetypes and dimension styles are objects.
  • Organizational structures such as layers, groups, and blocks are objects.
  • The drawing display such as view and viewport are objects.
  • Even the drawing and the AutoCAD application are considered objects.

The objects are structured in a hierarchical fashion, with the Application object at the root. The view of this hierarchical structure is referred to as the Object Model. The Object Model shows you which object provides access to the next level of objects.