Chris123
Newbie level 3
Hi,
I want to export the tracks of different nets in a plain text file readable by scripts for further analysis/simulation.
So far I've tried two ways:
1.) Using a script
The problems to be solved are:
- access the pcb-objects with their specific properties
- writing a file
... unfortunately for Tcl -my favorite scripting language- the support isn' very strong.......
I need a documentation and reference manual for the variables and the usable Altium-specific commands...
If it isn't possible with Tcl -maybe with one of the better supported languages....
2.) Analyse the .pcbdoc
The file format is a mixture of readable text (options and parameters) and a binary part, where objects are organized in records of different length. For example the coordinates and width of the tracs are unsigned ints in units of 1e-4 mils.
Unfortunately the length of the records depend on the number of parameters used which changes from file to file.
so without the structure of the records and the way how to read it from the file the analysis is impossible......
Maybe anyone has experience with .pcbdoc ....
3.) Copy/Paste from PCB-List
Works, but is laborious, when interactively optimizing a design while simulating........
Any help?
I want to export the tracks of different nets in a plain text file readable by scripts for further analysis/simulation.
So far I've tried two ways:
1.) Using a script
The problems to be solved are:
- access the pcb-objects with their specific properties
- writing a file
... unfortunately for Tcl -my favorite scripting language- the support isn' very strong.......
I need a documentation and reference manual for the variables and the usable Altium-specific commands...
If it isn't possible with Tcl -maybe with one of the better supported languages....
2.) Analyse the .pcbdoc
The file format is a mixture of readable text (options and parameters) and a binary part, where objects are organized in records of different length. For example the coordinates and width of the tracs are unsigned ints in units of 1e-4 mils.
Unfortunately the length of the records depend on the number of parameters used which changes from file to file.
so without the structure of the records and the way how to read it from the file the analysis is impossible......
Maybe anyone has experience with .pcbdoc ....
3.) Copy/Paste from PCB-List
Works, but is laborious, when interactively optimizing a design while simulating........
Any help?