Layout#

class ansys.edb.core.layout.layout.Layout(msg)#

Represents a layout.

Methods

Layout.add_menu_variable(name, values[, ...])

Add a menu variable.

Layout.add_variable(name, value[, is_param])

Add a variable.

Layout.convert_primitives_to_vias(primitives)

Convert a list of primitives into vias or pins.

Layout.create_3d_comp(filename)

Create a 3D composite model from an MCAD file.

Layout.create_hfss(filename, design)

Create an HFSS model from an MCAD file.

Layout.create_stride(filename)

Create a Stride model from an MCAD file.

Layout.create_value(val)

Create a value instance.

Layout.delete_variable(name)

Delete a variable.

Layout.expanded_extent(nets, extent, ...)

Get an expanded polygon for a list of nets.

Layout.get_all_variable_names()

Get all variable names.

Layout.get_variable_desc(name)

Get the description of a variable.

Layout.get_variable_value(name)

Get the value for a given variable.

Layout.is_parameter(name)

Determine if the variable is a parameter.

Layout.set_variable_desc(name, desc)

Set a variable to have a new description.

Layout.set_variable_value(name, new_value)

Set a variable to a new value.

Layout.synchronize_bend_manager()

Synchronize the bend manager.

Attributes

Layout.board_bend_defs

list of BoardBendDef: List of all board bend definitions in the layout.

Layout.cell

Cell: Owning cell for the layout.

Layout.cell_instances

list of CellInstances: List of all cell instances in the layout.

Layout.differential_pairs

list of DifferentialPair: List of all differential pairs in the layout.

Layout.extended_nets

list of ExtendedNet: List of all extended nets in the layout.

Layout.fixed_zone_primitive

Primitive: Fixed zones primitive.

Layout.groups

list of Group: List of all groups in the layout.

Layout.id

int: Unique ID of the EDB object.

Layout.is_null

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

Layout.layer_collection

LayerCollection: Layer collection of the layout.

Layout.layout_instance

LayoutInstance: Instance of the layout.

Layout.msg

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

Layout.net_classes

list of NetClass: List of all net classes in the layout.

Layout.nets

list of Net: List of all nets in the layout.

Layout.padstack_instances

list of PadstackInstance: List of all padstack instances in the layout.

Layout.pin_groups

list of PinGroup : List of all pin groups in the layout.

Layout.port_reference_terminals_connected

bool: Flag indicating if port reference terminals are connected.

Layout.primitives

list of Primitive: List of all primitives in the layout.

Layout.terminals

list of Terminal: List of all terminals in the layout.

Layout.voltage_regulators

list of VoltageRegulator: List of all voltage regulators in the layout.

Layout.zone_primitives

list of Primitive: List of all primitives in the zones.