Glade Reference
A group is an object derived from a dbObj that groups together other dbObj (including other groups). This allows groups of objects to be manipulated together, e.g. move, copy, rotate operations can be carried out as if the group is an instance.
Groups can be transparent; a transparent group can have its individual members edited, whereas a non-transparent group can only have its shape manipulated (which is a rectangle on the group layer, with size equal to the bounding box of all the members).
Groups are normally created using the cellView dbCreategroup() function.
Get the type of the object as group.
Get the print name of the object, as "group".
Sets the name of the group
Gets the group's name.
Gets the group's bounding box.
Gets the left edge / minimum X coord of the group bBox
Gets the bottom edge / minimum Y coord of the group bBox
Gets the right edge / maximum X coord of the group bBox
Gets the top edge / maximum Y coord of the group bBox
Sets the orientation of the group.
Gets the orientation of the group.
Sets the origin (lower left coordinate) of the group.
Gets the origin of the group.
Adds an object obj to the group. If the object is already a member of the group, it will not be added. The group's bounding box is adjusted accordingly.
Removes an object obj from the group. The group's bounding box is adjusted accordingly.
Returns the size (number of objects in the group).
Returns a list of the group's members.
Removes all members of the group. The group is NOT deleted.
Returns true if obj is a member of the group.
Returns true if the point p is inside the group's bounding box.
Moves the group (of the cellView cv) and all its members by delta. If opt is true, the spatial trees are reoptimised. If many groups are to be moved, it is faster to set opt to false and make a single call to cv.optimise() after.
Copies the group and all its members, displacing it by delta in the cellView cv.
Transforms the group and all its members by trans.
Returns the group's layer id, TECH_FIGGROUP_LAYER.
Copyright © Peardrop Design 2024.