User Tools

Site Tools



Setup van een Module Ontwerp

  1. Analyseer alle modules en bepaal logische groepen.
  2. Ontwerp alle groepen en sla ze op in hun eigen bestanden.
  3. Leg de beschrijving van de samengestelde modules vast in een modplan.xml.
  4. Leg de rijwegen voor dit samenstel van modules vast in een apart bestand .


  1. Analyse all modules and define logical groups.
  2. Setup all logical modules independent, offline, in their own files.


  1. Compose an arrangement and describe this in a modplan.xml. See: Rocrail Wrappers
  2. Keep the routes for this arrangement in a separate file, or use Modular Connections.



  • moving modules with the mouse
  • popup menu for rotating
  • module connections
  • adding and removing modules
  • property dialog for modplan
  • property dialog for module


  • Select with the mouse an empty grid to drag a module or to get the module popup menu.
  • Editing Modular Layouts by GUI is only supported when there is a server connection; No off line edit possible.
  • Most importand is to set a unique moduleID for every module!

ModPlan Dialog


Free text for the arrangement title.


The XML file containing all locomotives properties.


Optional routes XML file. When using connection it is probably not needed, but it can be used for defining routes which are not possible at the momentairy implementation of solving module routes.

Block occupation

This file is used before shutting down to store all block occupations.

Init field

Swap all switches at startup to get defined positions.


Allow saving the moduleplan file.

Save modules

Allow saving the module files.

Module Dialog



Free text for the module title.


Module ID which is a reference for all other modular actions. Be carefull to change this ID because it could make the module routes invalid.


XML File with the module definition.

X, Y

Module position in the arrangement.


Which side of the module will be upper most is selected by the rotation option:

  • North = 0° (equals the module without rotation)
  • East = 90°
  • South = 180°
  • West = 270°


For an explanation see: Modular Connections

North, East, South, West

The side on which a module is connected.
Take care: This is the real side of the module, not the rotated one!
If the module is rotated to east, east side up, the connection side at the bottom of the module is west.


The module ID which connect to the selected side.

From Scratch

With the Rocgui

  1. Set the wanted file name for the ModulePlan and select the module plan type.
    Make sure the file does not already exist.
  2. Exit the Rocgui.
  3. Restart the Rocrail server.
  4. Add modules by right clicking in the Module panel and select the popup menu item Add Module.
  5. Find an empty spot in the module to drag it holding the left mouse button to another location in the Module panel.
  6. By right clicking this spot the module popup menu will occur with all options needed to configure and rotate the module.

Setup Screen Shots


To create a modular layout from scratch the default scheme for the rocrail server, plan.xml, must contain this:

<modplan title="My Modular Layout"/>

Module path

The rocrail server will get the full qualified path for new modules from the rocgui so both must share the same file system. In future version the rocgui will send the content of the new module to the rocrail server.

modular-setup-nl.txt · Last modified: 2018/11/12 08:56 by