8.2.2 Group Variables

The Group class has the following variables:

String name
The (optional) name of the group
int size
Number of elements in the group.
TypeDef* el_typ
The "minimum" type of an element in the Group. When objects are created, transferred, or linked in the group, only objects of this type, or objects of a type which inherits from this type are considered for inclusion.
int el_def
The index of the default element of the group. This element is returned when the Default_El() function is called on the group.
int leaves
The number of leaves of the Group. This is the total sum of all the elements in this group plus all the elements of its subgroups, their subgroups and so on.
Group gp
This is the group of subgroups.
Geometry pos
The Group's position. In some cases, the group is represented graphically and the position provides a relative offset for the elements of the group
Geometry geom
The Group's geometry. Although the group is accessed linearly, it can be represented graphically in more than one dimension. The geometry specifies the layout of the group's elements.