[UID] Numbering Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scottb613
    2500 Post Veteran


    • Apr 2003
    • 2848
    • Downeast Maine (soon)
    • ORTS

    #1

    [UID] Numbering Issue

    Hi Folks,

    I often edit Consists. One thing I've noticed - it's very easy to get the assigned [UID] numbers messed up with duplicates or even negative numbers. These [UID] problems manifest themselves when using Mauricio's F9 Train Operations - as you won't be able to select specific cars or even whole sections of the train - when these issues are present. Would it be possible to add an option to reorder the [UID]'s and check for negatives/duplicates? Perhaps doing it on every save of a Consist?

    Thanks.

    Regards,
    Scott
    <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models
  • crstagg
    4500 Post Veteran


    • Nov 1999
    • 4885
    • Huntsville, AL
    • Texan
    • MSOR

    #2
    That has been a feature of ConBuilder since ver 1.8 (First version I downloaded). Till Eric gets that added to TSRE get-use the free version of ConBuilder, load Consist, from menu select "Units" then "Renumber" and then Save. However that will overwrite MaxVelocity to 40 0.0 so then open the Consist in TSRE-CE and save again to recalculate MaxVelocity.
    Charles

    Comment

    • eric
      9500 Post Veteran and Administrator



      • Dec 2002
      • 9583
      • NS MP245.4 CNO&TP South District
      • English, SQL
      • General

      #3
      I can look into that.
      If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

      Comment

      • dcarleton
        1000 Post Veteran


        • Nov 2008
        • 1004
        • MSOR

        #4
        Open up the consist in TSRE-CE. There's a function that reverses the order of the consist, but when it does that it renumbers the consist in order albeit back to front. Then reverse the consist again and it will be back in the correct order and numbered from front to back.

        Comment

        • scottb613
          2500 Post Veteran


          • Apr 2003
          • 2848
          • Downeast Maine (soon)
          • ORTS

          #5
          Originally posted by dcarleton
          Open up the consist in TSRE-CE. There's a function that reverses the order of the consist, but when it does that it renumbers the consist in order albeit back to front. Then reverse the consist again and it will be back in the correct order and numbered from front to back.
          Hi Folks,

          Thanks for the responses.

          Hah - yeah - flipping works perfectly - fixes both duplicates and negative issues.

          Learn something new every day.


          Regards,
          Scott

          <a href=https://www.trainsim.com/forums/filedata/fetch?filedataid=80663&type=full title=thumb_80663.png >thumb_80663.png</a>​ My Blender Models

          Comment

          • eric
            9500 Post Veteran and Administrator



            • Dec 2002
            • 9583
            • NS MP245.4 CNO&TP South District
            • English, SQL
            • General

            #6
            Nice. I can look at running that function before doing the save,
            If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

            Comment

            • dcarleton
              1000 Post Veteran


              • Nov 2008
              • 1004
              • MSOR

              #7
              Just one thing to beware of - Occasionally an activity creator will post an activity where the consist of the player train is not numbered in order, and you need those botched up UID numbers in order to work the activity! 🙄

              Comment

              • crstagg
                4500 Post Veteran


                • Nov 1999
                • 4885
                • Huntsville, AL
                • Texan
                • MSOR

                #8
                Originally posted by dcarleton
                Open up the consist in TSRE-CE. There's a function that reverses the order of the consist, but when it does that it renumbers the consist in order albeit back to front. Then reverse the consist again and it will be back in the correct order and numbered from front to back.
                Better work around than using ConBuilder. Thanks!
                Charles

                Comment

                • JSMR
                  Active Member
                  • Apr 2025
                  • 276
                  • ORTS

                  #9
                  I’ve kinda got a query also to do with the UID assigned by TSRE5. To perhaps have some continuity with different activities, is it possible to rename a loose consist to a different UID (same boxcar as an example as a previous activity with a boxcar )When I select on the wagon / boxcar etc it shows the UID but it can’t be edited. No biggie but would be a nice feature.

                  Comment

                  • dcarleton
                    1000 Post Veteran


                    • Nov 2008
                    • 1004
                    • MSOR

                    #10
                    What a great question! Open the consist file with Notepad. The numbers can be easily edited.

                    Comment

                    • JSMR
                      Active Member
                      • Apr 2025
                      • 276
                      • ORTS

                      #11
                      Originally posted by dcarleton
                      What a great question! Open the consist file with Notepad. The numbers can be easily edited.
                      I think I got confused. I didn't realize I'm in the consist editor section.
                      With the Route editor, it shows a 5 digit number. For instance I'm looking at a grain hopper with the ID 32770. That's what you see in the sim when you load it up (F7 - ctrl-9 dispatch etc).
                      But the next activity I plan, and if place the same kind of grain hopper, that number will be different. I was wondering if there was a way to edit that one in Route Editor so it will always be that number.
                      Last edited by JSMR; 05-12-2025, 18:47.

                      Comment

                      • dcarleton
                        1000 Post Veteran


                        • Nov 2008
                        • 1004
                        • MSOR

                        #12
                        Similar idea, open the activity file with Notepad and those numbers can be edited. But be careful not to duplicate the ID numbers.

                        Comment

                        • JSMR
                          Active Member
                          • Apr 2025
                          • 276
                          • ORTS

                          #13
                          Originally posted by dcarleton
                          Similar idea, open the activity file with Notepad and those numbers can be edited. But be careful not to duplicate the ID numbers.
                          Ahhh. Amazing! Thank you. Can't believe I didn't check there.

                          Comment

                          Working...