Files
JIMRI/jython/SetRouteExample.py
2026-06-17 14:00:51 +02:00

10 lines
141 B
Python

# Example of setting a route
#
# Also used in a JMRI test class
#
import jmri
r = routes.getRoute("StartUp")
r.activateRoute()
r.setRoute()