Working with JMRI®

Apps with JMRI Connections...

External Web Sites for Apps with JMRI Connections...

Examples of JMRI Use


By the community of

JMRI Help:
Contents/ Index
Glossary/ FAQ

Donate to JMRI Donate to

Using JMRI and XTrackCAD Together

XTrackCad and JMRI XtrkCadReader is a java tool that can take a layout file created with the XTrackCAD layout design and simulation program and convert it to a Layout Editor .xml panel file JMRI can use.

It can be downloaded from the Releases page on GitHub.
A Manual (PDF) describing how to run XtrkCadReader from the terminal, including the options and limitations, is included in the download together with several example files. Since XtrkCadReader 2.2.2

When you design a layout with XTrackCAD, the information about track, turnouts, and their connections is stored in a ".xtc" file. When you run XtrkCadReader with an XTC file as input, it creates an "XML" file for JMRI that contains the corresponding information.
You can then read that XML file into JMRI PanelPro to create a Layout Editor panel that represents your trackwork.

XtrkCadReader was created by Giorgio Terdina from 2008. It was updated since by JMRI team members.
Release 2.2.2 works with both JMRI 4.12 and XTrackCAD 5.1.1.
Release 2.2.3 will also read XTrackCAD 5.2 files.
Release 2.2.4 added the capability to import Bezier tracks.Since XtrkCadReader 2.2.4

XtrkCadReader is part of the JMRI project and is available under the GNU General Public License. For additional information about licensing terms, kindly refer to our license page.

Technical Details

The code for XtrkCadReader is available in the JMRI code Repository.

If you'd like a complete copy of the code, for example to modify or improve it, you can check it out from its JMRI XTrkCadReader GitHub code repository.