Structure3D#
- class ansys.edb.core.hierarchy.structure3d.Structure3D(msg)#
Represents a 3D structure.
Methods
Structure3D.add_member(member)Add an object to the group.
Cast the group object to the correct concrete type.
Structure3D.create(layout, name)Create a 3D structure.
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.
Structure3D.find(layout, name)Find a group by name.
Structure3D.find_by_id(layout, uid)Find a Connectable object by database ID in a given layout.
Structure3D.get_material(evaluate)Get the material for the 3D structure.
Structure3D.get_product_property(prod_id, ...)Get the product property of the layout object for a given product ID and attribute ID.
Structure3D.get_product_property_ids(prod_id)Get a list of attribute IDs given a product ID for the layout object.
Structure3D.remove_member(member)Remove an object from the group.
Structure3D.set_material(mat_name)Set material for the 3D structure.
Structure3D.set_product_property(prod_id, ...)Set the product property of the layout object for a given product ID and attribute ID.
Structure3D.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.MeshClosure: Mesh closure property for the 3D structure.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.Value: Thickness for the 3D structure.Transform: Transformation information of the hierarchy object.