connect_circuit_models_from_multi_zone_cutout#

Circuit.connect_circuit_models_from_multi_zone_cutout(project_connections, edb_zones_dict, ports=None, schematic_units='mm', model_inc=50)[source]#

Connect circuit model from a multizone clipped project.

Parameters:
project_connectionsdic[str][str]

Dictionary of project connections returned from the edb.get_connected_ports_from_multizone_cutout() method.

edb_zones_dictdict[str][EDB PolygonData]

Dictionary of zones returned by the edb.copy_zones() method.

portsdict[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_unitsstr, optional

Units for the schematic, such as "mm" or "in". The default is "mm".

model_incfloat, optional

Distance increment for adding models. The default is 50.

Returns:
bool

True when successful, False when 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)