Create / modify a Track diagram

ContentRocviewTrack Layout

Best practice for track plans should be adhered to

This is an explanation how to create a new track diagram and how to modify an existing track diagram

Creating a Track Diagram

Creating and modifying track diagrams can be done in offline or online mode.

Rocview in offline mode.

Add track panel

Click at “Add track diagram” in the menu “Track diagram”. After that the “Track diagram properties” dialog appears.

Track diagram properties.

Insert the Name of the Track diagram as headline. Afterwards this appears as inscription of the tab.
Level means the layer what points to the track diagram. So the hidden sidings points to level 0, the mountain railway to the upper level.
After you click on “OK” the tab's will be updated. The result looks like this:

Now you can save the track diagram in the Filesystem of the client as .xml file usind the “File / Save as” function. If the Rocrail Client runs at the same machine as the Rocrail server it is appropriate to save the track diagramm in the working directory of the Rocrail server.

Uploading a track diagram on a server

This Function is mostly used if Rocrail Server and Gui are running on different PC's. Alternatively the track diagram can be copied in the Rocrail work directory with the copy function of the used operating system. To upload a track diagram to the server the rocrail daemon has to be started. After that you have to click on “Upload” in the File Menu of Rocgui. The Dialog “Open track Diagram” appears.

In this dialog you have to choose the track diagram what hast to been uploaded. After click on “Open” the file will be copied to the working directory of the rocrail server under its used name. After click at the “open” Button the file will be saved in the working directory of the rocrail server with it's normal name. An Info window appears what affirmed the action.

You have to click on OK to complete the operation. Now the server has to be told to use the new .xml file at the next start. Click on “File/Rocrail properties. The name of the new .xml file has to type in in the tab “General”.

To activate the new track diagram you have to restart the Rocrail server process.

Edit a Track Diagram

You can edit a track diagram in online and offline mode (without a connection to rocrail server). In online mode you can only edit the now used diagram. In offline mode you can edit every track diagram what is stored in your filesystem.
In Offline mode you have to click on “File/open” to open an availible track diagram. Otherwise you have to click on “File/new” to create a new track diagram. In online mode you only have to click on “track diagram/edit” to change into the edit mode.

In edit mode elements of the track diagram can be added or changed with a right click or by Drag&Drop using the Add item dialog.

An explanation of the different Items can be found at track diagram elements.


Rotate the complete level by 90°, 180° or 270°.
This option is only available if Rocview is connected to the Rocrail server.
For this operation there is no undo function. It is recommended to make a backup first of the track diagram.

Delete track diagram

This menu item is only provided if the track plan is in the “Edit” mode.
Only the current showed track plan level will removed after a validation.

Overlapping objects

In unfortunatly cases it's possible, that more then one object is placed at the same position in the track plan. Then it's normaly impossible to locate them and edit it in Rocview.
To get some hints you may restart the plan health check from Rocview to get a short report.

Individual background color

With the track plan context menu an individual background color can be selected: Track plan color

In opposition to the view menu this setting will be permanently saved and is after a reboot effective again.

Move a panel

To move a panel to another tab the Left/Right commands can be used from the context menu:

The tab index will be saved in the plan.xml file.

Personal Tools