Creates an instance of the Group class. The group data must already exists in the model. Do not use this constructor if you want to add a new group to the model. Instead, you should use the "addGroup()" methdod in the model class.
The Group object.
Add an object to this group.
Add multiple object to this group.
Returns true if all obj IDs were added, false otherwise.
Add a point to this group.
Add multiple points to this group.
Add a topo to this group. (Vertices, edges, wires, faces.)
Add multiple topos to this group. (Vertices, edges, wires, faces.)
Check if this group exists
The model
Get the children groups of this group. Each group can have multiple chilren groups.
Get the Geom object
The Model object
Get the model to which this group belongs.
The model
Get the group name, which is its main identifier. Kust be unque.
Get the number of objs in this group.
Get the number of points in this group.
Get the number of topos in this group.
Ge the parent group of this group. Each group can only have one parent.
Get the points in this group.
Get the properties of this group. This returns an array of key: value pairs.
Check if an object is in this group.
Check if a point is in this group.
Check if a topo is in this group. (Vertices, edges, wires, faces.)
Remove an object from this group.
Remove multiple objects from this group.
Remove the parent group of this group. This will result in this group having no parent. A group with no parent is a top level group
Remove a point from this group.
Remove multiple points from this group.
Remove a topo from this group. (Vertices, edges, wires, faces.)
Remove multiple topos from this group. (Vertices, edges, wires, faces.)
Rename the group.
Set the properties of this group. The value must be an array of key: value pairs.
Create s string representation of this point.
String
Generated using TypeDoc
Group class.