Running AnsTranslator from the Command Line
The format for running AnsTranslator from the command line is:
<AnsTranslator> <input> <output> <switches>
Where:
AnsTranslatoris the complete path to AnsTranslator.exe<input>is the required path to the design to be translated<output>is the optional path to the edb directory. By default, the export type is edb. If no<output>is specified, the edb design is created in the same folder as the<input>file/folder.<switches>are any of the following options:-a(nfcmp)Optionally used for ANFV2 import to specify a *.cmp file
-c=controlFileNameSpecifies the path to a control file (*.xml). If not specified, the control file is still used (*.xml) as long as it has the same name and path as the
<input>file/folder.-i=inputFormatSpecifies the file format for translator input. If not specified, the file type is deduced from the file extension. Gerber designs must be explicitly specified though this option.
Options: AutoCAD, GDSII, Extracta, IPC2581, ODB++, Gerber, or anfv2
-l=logFilenameSpecifies the path to log file (*.log). By default, the log file is created in the same folder as the
<output>edb file.-o=outputFormatSpecifies the output format. The default output is edb.
Options: edb and ControlFile
-t=technologyFileSpecifies the path to a technology that defines a stack up. The file can be *.tech, *.layermap, *.ircx, *.vlc, *.tech, or *.itf. *.itf must have a mapping file specified with them. Use this switch when a technology file is provided. Do not specify a control file (-c) with this switch.
-f=filterfile.textUse to specify all signal layers to import into the design as a list of layer names separated by end of lines. Via layers will only be imported if both the start and end layers are included in the list. The file can be *.ircx, *.itf, or *.vlc.tech. Requires a technology file (-t) switch.
-g=gdsMappingFileSpecifies the path to a GDS layer mapping file (*.map).
-a(nfcmp)Optionally used for ANFV2 import to specify a *.cmp file
-vSpecifies verbose logging (without this option, only warnings and errors are logged).
-w=workingDirectoryNameSpecifies the directory to use for any file manipulation needed by the translation. If not specified, the directory for the input is used as the working directory.