ComponentGroup#
- class ansys.edb.core.hierarchy.component_group.ComponentGroup(msg)#
 Represents a component group object.
Methods
ComponentGroup.add_member(member)Add an object to the group.
Cast the group object to the correct concrete type.
ComponentGroup.create(layout, name, comp_name)Create a component group with a component.
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.
ComponentGroup.find(layout, name)Find a group by name.
ComponentGroup.find_by_def(layout, comp_def_name)Find all components belonging to a given component definition.
ComponentGroup.find_by_id(layout, uid)Find a Connectable object by database ID in a given layout.
ComponentGroup.get_product_property(prod_id, ...)Get the product property of the layout object for a given product ID and attribute ID.
Get a list of attribute IDs given a product ID for the layout object.
ComponentGroup.remove_member(member)Remove an object from the group.
ComponentGroup.set_product_property(prod_id, ...)Set the product property of the layout object for a given product ID and attribute ID.
ComponentGroup.ungroup(recursive)Dissolve the group.
Attributes
ComponentGroup: Component of the Connectable object.ComponentDef: Component definition for the hierarchy object if it exists,Noneotherwise.ComponentProperty: Component property of the component group.ComponentType: Component type of the component group.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.int: Number of pins in the component group.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.