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_mesh_region
(xy_exp, pos_z_exp, ...)Designate a mesh region in a design and create partitions for simulation.
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.
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 layer.
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 layer to touching geometry.
Synchronize the bend manager.
Layout.unite_primitives
(layer)Unite primitives on a layer.
Attributes
list
ofBoardBendDef
: List of all board bend definitions in the layout.Cell
: Owning cell for the layout.list
ofCellInstances
: List of all cell instances in the layout.list
ofDifferentialPair
: List of all differential pairs in the layout.list
ofExtendedNet
: 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
: Layer collection of the layout.LayoutInstance
: Instance of the layout.EDBObjMessage
: Protobuf message that represents the object's ID.list
ofPadstackInstance
: List of all padstack instances in the layout.bool
: Flag indicating if port reference terminals are connected.list
ofVoltageRegulator
: List of all voltage regulators in the layout.