Dave,
I believe the two connection rule applies to other table types, including turnouts. Whenever making changes like this, save often and stop/start JMRI and look for errors in the system console.
Dave Sand
toggle quoted message
Show quoted text
On Dec 30, 2018, at 11:40 AM, Dave Roberts <dccdaveroberts@...> wrote:
Dave,
Thanks for the confirmation regarding the Blocks. What about the Turnouts?
Dave
Sent from my iPhone - Dave
On 30 Dec 2018, at 16:59, Dave Sand <ds@...> wrote:
Dave,
Blocks with only 2 connections are not active and can be deleted.
Dave Sand
On Dec 30, 2018, at 1:56 AM, Dave Roberts <dccdaveroberts@...> wrote:
Cliff,
So kind of you to reply and thank you. Like you, my layout developed over some ten years and grew alongside JMRI. As part of the learning curve that we all go through I created several Turnouts and Blocks using the INTERNAL Name. Many had mistakes in the name, usually me adding in an extra space here and there. These are very difficult to distinguish between too!
Sometimes it was when I renamed an existing block I would add number after it and then create a new second, sequentially numbered Block. The original block was still there in the listing. This was before the time when I could have just renamed it and saved it.
I was developing my Naming System and Turnouts proved a bit of a problem until I settled on my current Naming scheme which now sorts all items for a particular Location into one contiguous block of names.
However, I am left with several entries that are not used within the xml file as part of any part of the layout. I was hoping that as part of the Rename the Layout idea that JMRI could be made to just include those names that are actively used on the layout and leave the rest behind.
At present, by using my Naming Scheme, I can break all the Table records into Named Blocks of records and attempt a deletion there. It is easier than having to plough through every entry on the various Tables Listings.
The problem is identifying those not currently used. At the moment it would appear that the unused entries only have two connections but I am not sure if this is the default when they are created? Is so, then deleting all those with only the original two connections would appear to be the way to go but having spent many hours removing all errors between the Master, (Whole Layout) file Panel and the various Location Sub-Panels using the CHECK Tool option for all four of the areas specified, I need to be sure that I can get rid of all of the unwanted entries and so slim down the file to prevent any further errors arising in the future.
That is why I put out my request for further information to check if there has been any further developments over the past five years before I embark on what could be a potential nightmare scenario for me.
May I wish you a Happy and Peaceful New Year.
Dave
On 30 Dec 2018, at 00:19, Cliff Anderson <cliffaa@...> wrote:
Dave,
On Sat, Dec 29, 2018 at 01:03 PM, Dave Roberts wrote:
I have read the last conversation from Cliff in 2014 but has there been any progress in finding a way to remove unwanted/unused list items from the tables?
Perhaps you are referring to messages #103133 & #103134 from February 2014?
If so, it took me some time to recover them and even so I have only a dim memory of that thread after almost five years. Certainly, I have no recollection of further information and normal use of search mechanisms within the JMRI and this Groups sites have not been productive. My practice with the use of adding Blocks has become more careful to define a new block, but that does not help others much.
If these are not what you are alluding too, perhaps further clarification would be in order.
In either case, someone who uses the Layout Editor a lot more than I do would be better prepared to follow up on your request.
Cliff in Baja SoCal