tech_to_control_file#

ansys.aedt.core.generic.file_utils.tech_to_control_file(input_file: str | Path, units: str = 'nm', output_file: str | Path = None)#

Convert a TECH file to an XML file for use in a GDS or DXF import.

Parameters:
input_filestr or pathlib.Path

Full path to the TECH file.

unitsstr, optional

Tech units. If specified in tech file this parameter will not be used. Default is "nm".

output_filestr or pathlib.Path, optional

Path for outputting the XML file.

Returns:
str

Output file path.