开云体育

Locked Re: Displaying the "Alternative Track Colour" when using Logix (or Lroute or anything else that works) #layouteditor #logix


 

Iain,

The ManageBlocks.py script in the JMRI install directory will do what you want. ?There is another version which has additional features. ?It used to be in the group's file area, but is no longer there. ?There are also internal JMRI changes which require script changes so newer versions will be coming soon.

Dave Sand


----- Original message -----
From: Iain <iain@...>
Subject: [jmriusers] Displaying the "Alternative Track Colour" when using Logix (or Lroute or anything else that works)
Date: Friday, May 08, 2020 3:41 AM

Some may remember my name from a while back when I was trying to get started and having the usual difficulties.? Many of you were very helpful, and indeed without your help I wouldn't have the working system that I have now.? The main help came from Dave Sand - but I have thanked him separately.? To those who helped thanks.

My control system has worked well and run my small UK layout well.? It's fully interlocked, BUT I chickened out on block occupancy.? It would probably have been the final straw back than anyway.? Now I am going to have a go.

I would LIKE to mimic the UK approach of having the track dark grey and marking a selected route through it in white.? The occupancy would show up red and clear to dark grey after clearance.? The switching to red on a sensor is easy enough (and I already do this manually) but the white route is different. There IS an alternative colour for the track and both Entry/Exit NX facilities and Dispatcher:

NX: "The full interlock will also set the state of the layout Blocks to use the alternative color, and the NX sensor buttons will remain in a solid active state".
Dispatcher: "Check Use alternate color for allocated Blocks to use the Layout Editor alternate unoccupied color for allocated Blocks in Layout Editor panels. This option is designed to make it easier for the dispatcher to see which Sections have been allocated."

Sadly neither NX or Dispatcher are suitable for my use.

I am sorry, but I have searched and searched but can find no way to cause this colour change in Logix.? I am happy to use other facilities or even Scripting if I must.? Can anybody please tell me how?


Join [email protected] to automatically receive all group messages.