codebase="hhctrl.ocx#Version=4,73,8561,0"> codebase="hhctrl.ocx#Version=4,73,8561,0" > codebase="hhctrl.ocx#Version=4,73,8561,0" >
 
  ModelSpace Collection

A special Block object containing all model space entities.

VBA class name:

AcadModelSpace 

Create using:

N/A 

Access via:

Document.ModelSpace 

This collection represents all the objects in model space. To add new objects to model space, use the Add* methods listed below.

Because this collection is actually a block, it possesses several block characteristics. For example, this collection has a Layout object associated with it. In addition, all the objects in this collection can also be found in the Blocks collection under a block named *MODEL_SPACE. Both the block named *MODEL_SPACE and the ModelSpace collection actually point to the same data. The ModelSpace collection was created to provide a faster and easier means of accessing the data in model space.

You cannot create or delete a ModelSpace collection. There is always one ModelSpace collection provided in the drawing.

To edit or query the ModelSpace collection, use the following methods and properties:

Methods

Add3DFace

Add3DMesh

Add3DPoly

AddArc

AddAttribute

AddBox

AddCircle

AddCone

AddCustomObject

AddCylinder

AddDim3PointAngular

AddDimAligned

AddDimAngular

AddDimArc

AddDimDiametric

AddDimOrdinate

AddDimRadial

AddDimRadialLarge

AddDimRotated

AddEllipse

AddEllipticalCone

AddEllipticalCylinder

AddExtrudedSolid

AddExtrudedSolidALongPath

AddHatch

AddLeader

AddLightWeightPolyline

AddLine

AddMLeader

AddMLine

AddMText

AddPoint

AddPolyfaceMesh

AddPolyline

AddRaster

AddRay

AddRegion

AddRevolvedSolid

AddShape

AddSolid

AddSphere

AddSpline

AddTable

AddText

AddTolerance

AddTorus

AddTrace

AddWedge

AddXLine

AttachExternalReference

InsertBlock

Item

Properties

Application

Count

Document

Handle

HasExtensionDictionary

Layout

Name  

Events

Modified

 

   Comments?