ControlFile#

class pyedb.grpc.database.utility.xml_control_file.ControlFile(xml_input=None, tecnhology=None, layer_map=None)#

Control File Class. It helps the creation and modification of edb xml control files.

Overview#

parse_technology

Parse technology files using Helic and convert it to xml file.

parse_layer_map

Parse layer map and adds info to the stackup info.

parse_xml

Parse an xml and populate the class with materials and Stackup only.

write_xml

Write xml to output file

Import detail#

from pyedb.grpc.database.utility.xml_control_file import ControlFile

Attribute detail#

ControlFile.stackup#
ControlFile.boundaries#
ControlFile.remove_holes = False#
ControlFile.remove_holes_area_minimum = 30#
ControlFile.remove_holes_units = 'um'#
ControlFile.setups#
ControlFile.components#
ControlFile.import_options#

Method detail#

ControlFile.parse_technology(tecnhology, edbversion=None)#

Parse technology files using Helic and convert it to xml file.

Parameters:
layer_mapstr

Full path to technology file.

Returns:
bool
ControlFile.parse_layer_map(layer_map)#

Parse layer map and adds info to the stackup info. This operation must be performed after a tech file is imported.

Parameters:
layer_mapstr

Full path to “.map” file.

Returns:
ControlFile.parse_xml(xml_input)#

Parse an xml and populate the class with materials and Stackup only.

Parameters:
xml_inputstr

Full path to xml.

Returns:
bool
ControlFile.write_xml(xml_output)#

Write xml to output file

Parameters:
xml_outputstr

Path to the output xml file.

Returns:
bool