Layout#
- class ansys.edb.core.layout.layout.Layout(msg)#
 Owns the geometry, nets, and stackup of an EDB design.
Methods
Layout.add_menu_variable(name, values[, ...])Add a menu variable.
Layout.add_variable(name, value[, is_param])Add a variable.
Compress
primitivesintoprimitive instance collections.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_mesh_region(xy_exp, pos_z_exp, ...)Designate a mesh region in a design and create partitions for meshing.
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 the expanded extent of the geometry on the specified nets.
Flatten all cell instances in the layout.
Get all variable names.
Layout.get_variable_desc(name)Get the description of a variable.
Get the value for a given variable.
Layout.group_vias(layer[, ...])Create via groups from the primitives on the specified layers.
Layout.is_parameter(name)Determine if the variable is a parameter.
Layout.reconstruct_arcs(layer, tolerance)Reconstruct arcs of polygons on a layer.
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.snap_primitives(layer[, tol, ...])Snap primitives on the specified layer to touching geometry.
Layout.snap_vias(layer[, via_snapping_tol, ...])Snap vias on the specified layers to touching geometry.
Synchronize the bend manager.
Layout.unite_primitives(layer)Unite primitives on a layer.
Attributes
listofBoardBendDef: List of all board bend definitions in the layout.Cell: Cell that owns the layout.listofCellInstance: List of all cell instances in the layout.listofDifferentialPair: List of all differential pairs in the layout.listofExtendedNet: List of all extended nets in the layout.int: Unique ID of the EDB object.bool: Flag indicating if the object exists in the database.LayerCollection: Stackup of the layout.LayoutInstance: Instance of the layout.EDBObjMessage: Protobuf message that represents the object's ID.listofPadstackInstance: List of all padstack instances in the layout.bool: Flag indicating if port reference terminals are connected.listofVoltageRegulator: List of all voltage regulators in the layout.listofPrimitive: List of all zone primitives in the layout.