Previous | Contents | Index | Next

# 2.5 File Menu

The File Menu shows file oriented commands for loading and saving layout files. File Types The main two filetypes that XTrackCAD uses are normal Layout Files (*.xtc) and Archive Files (*.xtce). The internals of both formats are described in the XtrkCAD Wiki at Wiki FileFormats.

Layout File The layout file is named with a *.xtc extenstion and is a text-based description file of all the objects used in the layout plus some information about the options currently in use. Archive An archive is named with a *.xtce extension, is a zipped collection of -

- a manifest JSON file that lists the contents,
- the .xtc layout file, and
- any other content listed in the manifest -> such as referenced image files. Initially the only such content is the background image which is added to the archive if it is present.

  Exit - Exits XTrackCAD. You will be asked to confirm your choice if there are unsaved changes.

  Export - Exports the selected objects to a file in XTrackCAD (*.xti) format. The exported file can then be imported into another layout design. Refer to the Import command listed below.

  Export to Bitmap - Creates a bitmap file (Section 2.5.2) of the layout. The bitmap can be saved in either JPEG or PNG format.

  Export to DXF - Exports the selected objects to a file in DXF format (Section B.2). The exported file can then be imported into other CAD programs.

  Export to SVG - Exports the selected objects to a file in SVG format. The exported file can then be imported into a vector drawing program like Inkscape or used for publishing on the web.

  File List - List of the five most recently used XTrackCAD files or archives.

  Import - Displays the file selection dialog which allows selection of an existing XTrackCAD Import (Section 2.5.1 *.xti) files. This function can be used to transfer parts like a yard design from one layout design to another.

  Import Module - Displays the file selection dialog which allows selection of an existing XTrackCAD Import (Section 2.5.1 *.xti) file. The imported parts are put into a empty layer, sets the layer name to the imported filename and sets the layer to be a module - see (Section 2.9.5).
  New - Clears the current layout. In case there are any unsaved changes on the current plan, a warning pop-up will be displayed and you'll have the option to cancel the operation. After that the Layout Options (Section 2.10.6) dialog will be opened.

  Notes - Displays a simple notepad editor which you can use to enter information about the layout. Typically this could include prototype, period, theme, layout style, height, construction, type of track and turnouts used, control system and anything else of interest. (There is also a Note command (Section 2.3.3) which allows attaching notes to particular parts of the layout.)

  Open - Displays the File Open dialog which allows an existing XTrackCAD file or archive to be selected and opened. In case there are any unsaved changes on the current plan, a warning pop-up will be displayed and you'll have the option to cancel the operation.

  Parameter Files - Displays the Parameter Files dialog (Section 2.5.6) to choose parameter files.

  Print Setup - Shows the Printer Setup Dialog (Section 2.5.9).

  Print - Invokes the Print command (Section 2.5.8).

  Revert - Undoes all changes and returns to the last saved layout plan.

  Save - Saves the layout under the current file name and with the same file type as was opened. If a filename has not yet been assigned then the File Save dialog is shown so you enter a file (.xtc) or archive name (.xtce).

  Save As - This command lets you make a copy of the track plan you are currently working on as an file (.xtc) or an archive (.xtce). It differs from the regular Save command. Save stores your data back into the folder (directory) it originally came from in the same filetype. "Save As" lets you give your plan a different name and/or put it in a different folder on your hard disk and chnage its filetype using the selection box at the bottom of the list of files or by hardcoding the extensions .xtc or .xtce (for an archive).

- 2.5.1 Export
- 2.5.2 Export to Bitmap
- 2.5.3 Export to DXF
- 2.5.4 Export to SVG
- 2.5.5 Import
- 2.5.6 Parameter Files
- 2.5.7 Choose Parameter Files
- 2.5.8 Printing
- 2.5.9 Printer Setup

- 2.5.9.1 Linux
- 2.5.9.2 Microsoft Windows

- 2.5.10 Printer Margin