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

The collection of all groups in the drawing.

VBA class name:

AcadGroups 

Create using:

N/A 

Access via:

Document.Groups 

To add a new member to the collection, use the Add method. To select a specific group, use the Item method.

Although the Groups collection inherits a Delete method, you cannot actually delete the collection. Attempting to delete the Groups collection will result in an error, therefore the Delete method has been removed from the documentation for this collection.

There is no limit to the number of groups you can create in your drawing. However, there can be only one instance of the Groups collection. The Groups Collection is predefined for each drawing. You can make multiple references to it by using the Groups property. Once done with an object, the reference is automatically released.

Methods

Add

GetExtensionDictionary

GetXData

Item

SetXData  

Properties

Application

Count

Document

Handle

HasExtensionDictionary

ObjectID

ObjectName

OwnerID  

Events

Modified

 

   Comments?