Structure3D#

class ansys.edb.core.hierarchy.structure3d.Structure3D(msg)#

Represents a 3D structure.

Methods

Structure3D.add_member(member)

Add an object to the group.

Structure3D.cast()

Cast the group object to the correct concrete type.

Structure3D.create(layout, name)

Create a 3D structure.

Structure3D.create_3d_comp()

Create a 3D composite model from an MCAD file.

Structure3D.create_hfss()

Create an HFSS model from an MCAD file.

Structure3D.create_stride()

Create a Stride model from an MCAD file.

Structure3D.delete()

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

Structure3D.component

ComponentGroup: Component of the Connectable object.

Structure3D.component_def

ComponentDef: Component definition for the hierarchy object if it exists, None otherwise.

Structure3D.edb_uid

int: Unique, persistent ID for the Connectable object.

Structure3D.group

Group object.

Structure3D.id

int: Unique ID of the EDB object.

Structure3D.is_mcad

bool: Flag indicating if this is an MCAD model.

Structure3D.is_mcad_3d_comp

bool: Flag indicating if this is a 3D composite MCAD model.

Structure3D.is_mcad_hfss

bool: Flag indicating if this is an HFSS MCAD model.

Structure3D.is_mcad_stride

bool: Flag indicating if this is a Stride MCAD model.

Structure3D.is_null

bool: Flag indicating if the object exists in the database.

Structure3D.layout

Layout: Layout owning the object.

Structure3D.layout_obj_type

Structure3D.location

tuple (Value, Value): Location [x, y] of the hierarchy object on the placement_layer object.

Structure3D.members

list of Connectables: All group members.

Structure3D.mesh_closure

MeshClosure: Mesh closure property for the 3D structure.

Structure3D.msg

EDBObjMessage: Protobuf message that represents the object's ID.

Structure3D.name

str: Name of the hierarchy object.

Structure3D.net

Net: Net of the Connectable object.

Structure3D.obj_type

LayoutObjType: Layout object type.

Structure3D.placement_layer

Layer: Placement layer for the hierarchy object.

Structure3D.solve_independent_preference

bool: Flag indicating if the object is assigned to solve independent of its parent context.

Structure3D.thickness

Value: Thickness for the 3D structure.

Structure3D.transform

Transform: Transformation information of the hierarchy object.