auto_parametrize_design#
- Edb.auto_parametrize_design(layers=True, materials=True, via_holes=True, pads=True, antipads=True, traces=True, layer_filter=None, material_filter=None, padstack_definition_filter=None, trace_net_filter=None, use_single_variable_for_padstack_definitions=True, use_relative_variables=True, output_aedb_path=None, open_aedb_at_end=True, expand_polygons_size=0, expand_voids_size=0, via_offset=True)[source]#
Assign automatically design and project variables with current values.
- Parameters:
- layersbool,
optional
Enable layer thickness parametrization. Default value is
True
.- materialsbool,
optional
Enable material parametrization. Default value is
True
.- via_holesbool,
optional
Enable via diameter parametrization. Default value is
True
.- padsbool,
optional
Enable pads size parametrization. Default value is
True
.- antipadsbool,
optional
Enable anti pads size parametrization. Default value is
True
.- tracesbool,
optional
Enable trace width parametrization. Default value is
True
.- layer_filter
str
,List
(str
),optional
Enable layer filter. Default value is
None
, all layers are parametrized.- material_filter
str
,List
(str
),optional
Enable material filter. Default value is
None
, all material are parametrized.- padstack_definition_filter
str
,List
(str
),optional
Enable padstack definition filter. Default value is
None
, all padsatcks are parametrized.- trace_net_filter
str
,List
(str
),optional
Enable nets filter for trace width parametrization. Default value is
None
, all layers are parametrized.- use_single_variable_for_padstack_definitionsbool,
optional
Whether to use a single design variable for each padstack definition or a variable per pad layer. Default value is
True
.- use_relative_variablesbool,
optional
Whether if use an absolute variable for each trace, padstacks and layers or a delta variable instead. Default value is
True
.- output_aedb_path
str
,optional
Full path and name for the new AEDB file. If None, then current aedb will be cutout.
- open_aedb_at_endbool,
optional
Whether to open the cutout at the end. The default is
True
.- expand_polygons_size
float
,optional
Expansion size on polygons. Polygons will be expanded in all directions. The default is
0
.- expand_voids_size
float
,optional
Expansion size on polygon voids. Polygons voids will be expanded in all directions. The default is
0
.- via_offsetbool,
optional
Whether if offset the via position or not. The default is
True
.
- layersbool,
- Returns:
List
(str
)List of all parameters name created.