Access the Application Object
ActiveX Automation Basics
Access a Collection
A Collection object is a predefined
object that contains (is a parent object for) all instances of a
similar object.The following is a list of collection objects:
-
Collection
-
Contains all documents open
in the current AutoCAD session.
-
ModelSpace Collection
-
Contains all graphical objects
(entities) in model space.
-
PaperSpace Collection
-
Contains all graphical objects
(entities) in the active paper space layout.
-
Block Object
-
Contains all entities within
a specific block definition.
-
Blocks Collection
-
Contains all blocks in the
drawing.
-
Dictionaries Collection
-
Contains all dictionaries
in the drawing.
-
DimStyles Collection
-
Contains all dimension styles
in the drawing.
-
FileDependencies Collection
-
Contains all items in the
File Dependency List.
-
Groups Collection
-
Contains all groups in the
drawing.
-
Hyperlinks Collection
-
Contains all hyperlinks for
a given entity.
-
Layers Collection
-
Contains all layers in the
drawing.
-
Layouts Collection
-
Contains all layouts in the
drawing.
-
Linetypes Collection
-
Contains all linetypes in
the drawing.
-
MenuBar Collection
-
Contains all menus currently
displayed in AutoCAD.
-
MenuGroups Collection
-
Contains all menus and toolbars
currently loaded in AutoCAD.
-
PlotConfigurations Collection
-
Contains named plot settings
in the drawing.
-
RegisteredApplications Collection
-
Contains all registered applications
in the drawing.
-
SelectionSets Collection
-
Contains all selection sets
in the drawing.
-
TextStyles Collection
-
Contains all text styles
in the drawing.
-
UCSs Collection
-
Contains all user coordinate
systems (UCS's) in the drawing.
-
Views Collection
-
Contains all views in the
drawing.
-
Viewports Collection
-
Contains all viewports in
the drawing.