CADSTAR import error "Unknown node 'PT' in 'ROUTE'"
Description
When importing a .cpa file (PCB Archive) exported by CADSTAR 5 (Revision 7 format) there is an error message "Unknown node 'PT' in 'ROUTE'" shown.
Steps to reproduce
- Export a PCB file from CADSTAR 5 to PCB Archive, with the following options - Revision 7 format, CADSTAR 5, Exported Data Categories: Assignments: All assignments; Electrical Items: Components Library, Parts Library, Components, Test Points, Connections: Routes, Cooper; Colours; Documentation: Board Online, Areas, Figures, Text, Doc'n Symbols, Errors
- Import the exported file using KiCad with File->Import->Non KiCad Board File.
- Error modal window is shown showing an error message: Error loading PCB; file path; "Unknown node 'PT' in 'ROUTE'"
- Note: when exporting from CADSTAR 5 without selecting "Routes" category, the exported file is successfully imported, but as expected there are no routes in the imported file.
- Part of the file:
(NET N0
(SIGNUM 286)
(PIN P0 CMP4 4)
(PIN P1 CMP10 1)
(PIN P2 CMP18 1)
(CONN P0 P1 W2
(ROUTE LAY6 (PT 21361400 5740400) (PT 21374100 5308600))
)
(CONN P2 P1 W2
(ROUTE LAY6 (PT 21615400 4114800) (PT 21615400 5003800) (PT 21374100 5308600))
)
)
KiCad Version
Application: KiCad PCB Editor x64 on x64
Version: 8.0.1, release build
Libraries: wxWidgets 3.2.4 FreeType 2.12.1 HarfBuzz 8.3.0 FontConfig 2.14.2 libcurl/8.5.0-DEV Schannel zlib/1.3
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info: Date: Mar 15 2024 01:52:47 wxWidgets: 3.2.4 (wchar_t,wx containers) Boost: 1.83.0 OCC: 7.7.1 Curl: 8.5.0-DEV ngspice: 42 Compiler: Visual C++ 1936 without C++ ABI
Build settings:
Edited by Yaroslav Kraynov