connect_circuit_models_from_multi_zone_cutout#
- Circuit.connect_circuit_models_from_multi_zone_cutout(project_connections: dict[str, str], edb_zones_dict: dict[str, any], ports: dict[str, str] | None = None, schematic_units: str | None = 'mm', model_inc: float | None = 50) bool#
Connect circuit model from a multizone clipped project.
- Parameters:
- project_connections
dic[str][str] Dictionary of project connections returned from the
edb.get_connected_ports_from_multizone_cutout()method.- edb_zones_dict
dict[str][EDBPolygonData] Dictionary of zones returned by the
edb.copy_zones()method.- ports
dict[str][str] dictionary return from command edb.cutout_multizone_layout(). These ports are the ones created before processing the multizone clipping. Like for instance ports created on components resulting from previous automated workflow execution.
- schematic_units
str,optional Units for the schematic, such as
"mm"or"in". The default is"mm".- model_inc
float,optional Distance increment for adding models. The default is
50.
- project_connections
- Returns:
- bool
Truewhen successful,Falsewhen failed.
Examples
These commands show how to get input arguments described in this method: - project_connections - edb_zone_dict - >>> edb = Edb(edb_file) >>> edb_zones = edb.copy_zones(r”C:Temptest”) >>> defined_ports, project_connections = edb.cutout_multizone_layout(edb_zones, common_reference_net) >>> circ = Circuit() >>> circ.connect_circuit_models_from_multi_zone_cutout(project_connexions, edb_zones, defined_ports)