AttachedDrawing object

AutoCAD Map 3D ActiveX

AttachedDrawing object

An AttachedDrawing object represents a drawing attached to the project.

An AttachedDrawing object is contained by a DrawingSet collection, which is contained by a project.

An attached drawing can contain a NestedDrawings collection, or the drawing can be a member of another attached drawing's NestedDrawings collection.

An attached drawing can be active, inactive, or locked for querying. The object-locking feature is necessary when users share a set of source drawings in a networking environment.

To use an AttachedDrawing object, you create a project containing drawings. You get the DrawingSet collection using the Project.DrawingSet property, and add an AttachedDrawing object to the DrawingSet collection using the DrawingSet.Add method. With access to an AttachedDrawing object, you manipulate your drawings using the AttachedDrawing object properties and methods. You can also manipulate a NestedDrawings collection using these properties and methods.