AecBaseDocument Object

AEC Auto

   Aec Base Document Object  

An AEC drawing object, extending the AcadDocument to provide support for general AEC objects.

Note:This object is actually a component of the AecXUIBase object model, which represents user interface objects.

VBA object name:

AecBaseDocument

Create using:

Documents.Add
Documents.Open
Document.New 

Access via:

Documents.Item
Application.ActiveDocument

The Preferences property provides access to drawing settings.

The active document can be accessed through the ActiveDocument property of the AecBaseApplication object, after initializing AecBaseApplication. For example:

    
    Dim doc As AecBaseDocument
    Dim app As New AecBaseApplication
    
    app.Init ThisDrawing.Application
    Set doc = app.ActiveDocument

Methods

Activate

AuditInfo

Close

CopyObjects

EndUndoMark

Export

GetVariable

HandleToObject

Import

Init

LoadShapeFile

New

ObjectIdToObject

Open

PurgeAll

Regen

Save

SaveAs

SendCommand

SetVariable

StartUndoMark

Wblock

Properties

Active

ActiveDimStyle

ActiveLayer

ActiveLayout

ActiveLinetype

ActivePViewport

ActiveSelectionSet

ActiveSpace

ActiveTextStyle

ActiveUCS

ActiveViewport

Application

Blocks

Database

Dictionaries

DimStyles

DisplayConfigurations

DisplayRepresentations

DisplaySets

ElevationModelSpace

ElevationPaperSpace

FullName

Groups

Height

HWND

LayerKeyStyles

Layers

Layouts

Limits

Linetypes

MaskBlockStyles

MassElementStyles

MassGroups

ModelSpace

MSpace

MVBlockStyles

Name

ObjectSnapMode

PaperSpace

Path

PickfirstSelectionSet

Plot

PlotConfigurations

PolygonStyles

Preferences

ProfileStyles

ReadOnly

RegisteredApplications

Saved

SelectionSets

TextStyles

UserCoordinateSystems

Utility

Viewports

Views

Width

WindowState

WindowTitle