CellInstance#

class ansys.edb.core.hierarchy.cell_instance.CellInstance(msg)#

Represents a cell instance object.

Methods

CellInstance.create(layout, name, ref)

Create a cell instance with a given layout.

CellInstance.create_3d_comp()

Create a 3D composite model from an MCAD file.

CellInstance.create_hfss()

Create an HFSS model from an MCAD file.

CellInstance.create_stride()

Create a Stride model from an MCAD file.

CellInstance.create_with_component(layout, ...)

Create a cell instance with a component definition.

CellInstance.delete()

Delete the layout object.

CellInstance.find(layout, name)

Find a cell instance by name in a given layout.

CellInstance.find_by_id(layout, uid)

Find a Connectable object by database ID in a given layout.

CellInstance.get_parameter_override(param_name)

Get the override of the cell instance parameter by name.

CellInstance.get_product_property(prod_id, ...)

Get the product property of the layout object for a given product ID and attribute ID.

CellInstance.get_product_property_ids(prod_id)

Get a list of attribute IDs given a product ID for the layout object.

CellInstance.set_parameter_override(...)

Set an override value for a given cell instance parameter.

CellInstance.set_product_property(prod_id, ...)

Set the product property of the layout object for a given product ID and attribute ID.

Attributes

CellInstance.component

ComponentGroup: Component of the Connectable object.

CellInstance.component_def

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

CellInstance.edb_uid

int: Unique, persistent ID for the Connectable object.

CellInstance.group

Group object.

CellInstance.id

int: Unique ID of the EDB object.

CellInstance.is_mcad

bool: Flag indicating if this is an MCAD model.

CellInstance.is_mcad_3d_comp

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

CellInstance.is_mcad_hfss

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

CellInstance.is_mcad_stride

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

CellInstance.is_null

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

CellInstance.layout

Layout: Layout owning the object.

CellInstance.layout_obj_type

CellInstance.location

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

CellInstance.msg

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

CellInstance.name

str: Name of the hierarchy object.

CellInstance.net

Net: Net of the Connectable object.

CellInstance.obj_type

LayoutObjType: Layout object type.

CellInstance.placement_3d

bool: Flag indicating if the cell instance is 3D placed in the owning layout.

CellInstance.placement_layer

Layer: Placement layer for the hierarchy object.

CellInstance.reference_layout

Layout: Reference layout of the cell instance.

CellInstance.solve_independent_preference

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

CellInstance.term_instances

list of TerminalInstance: Terminal instances associated with the cell instance.

CellInstance.transform

Transform: Transformation information of the hierarchy object.

CellInstance.transform3d

Transform3D: 3D transformation information of the cell instance.