Group#
- class ansys.edb.core.hierarchy.group.Group(msg)#
Represents a group object.
Methods
Group.add_member(member)Add an object to the group.
Cast the group object to the correct concrete type.
Group.create(layout, name)Create a group.
Create a 3D composite model from an MCAD file.
Create an HFSS model from an MCAD file.
Create a Stride model from an MCAD file.
Delete the layout object.
Group.find(layout, name)Find a group by name.
Group.find_by_id(layout, uid)Find a Connectable object by database ID in a given layout.
Group.get_product_property(prod_id, attr_id)Get the product property of the layout object for a given product ID and attribute ID.
Group.get_product_property_ids(prod_id)Get a list of attribute IDs given a product ID for the layout object.
Group.remove_member(member)Remove an object from the group.
Group.set_product_property(prod_id, attr_id, ...)Set the product property of the layout object for a given product ID and attribute ID.
Group.ungroup(recursive)Dissolve the group.
Attributes
ComponentGroup: Component of the Connectable object.ComponentDef: Component definition for the hierarchy object if it exists,Noneotherwise.int: Unique, persistent ID for the Connectable object.Groupobject.int: Unique ID of the EDB object.bool: Flag indicating if this is an MCAD model.bool: Flag indicating if this is a 3D composite MCAD model.bool: Flag indicating if this is an HFSS MCAD model.bool: Flag indicating if this is a Stride MCAD model.bool: Flag indicating if the object exists in the database.Layout: Layout owning the object.tuple(Value,Value): Location [x, y] of the hierarchy object on theplacement_layerobject.listof Connectables: All group members.EDBObjMessage: Protobuf message that represents the object's ID.str: Name of the hierarchy object.Net: Net of the Connectable object.LayoutObjType: Layout object type.Layer: Placement layer for the hierarchy object.bool: Flag indicating if the object is assigned to solve independent of its parent context.Transform: Transformation information of the hierarchy object.