Signals & Track Geting Speed Limits

Discussion in 'PC Editor Discussion' started by m_jagersma, Apr 28, 2024.

  1. m_jagersma

    m_jagersma New Member

    Joined:
    May 24, 2019
    Messages:
    7
    Likes Received:
    6
    G'day all,

    I have two questions regarding speed limits. I've trawled through many blueprints and tried a fair bit of code, but I think I've simply hit a wall. Maybe someone can help.

    1) I would like to programmatically read the speed limit of a UK speed limit sign. Some routes use the "Speed" property (like Blackpool Branches) in the UKSpeedsign blueprint which is no issue to read. However, some routes like Birmingham X City and London Overground use the "Custom Text" property. Now the latter is fairly hidden inside a "UK Speedsign Modern" Struct. This struct has unfortunately no exposed properties, i.e. no way to "break" properties into separate pins which is a typical way to extract properties from structs. I believe this would need to be exposed in the C++ that creates this blueprint. Could this be added? Or is there an alternative way to extract this property?

    upload_2024-4-28_13-18-21.png

    2) The other thing I would like to programatically extract are the actual primary speeds for each track section / ribbon / range. Now of course, going into Network Edit Mode gives you the option to show speeds and to edit a network range to set for example a new speed. However, I cannot find the resulting speed limits for each track section in any of the "Actors". The NetworkRibbon has the geometry info which is good, but no other track properties like speed or electrification type. Maybe I've simply missed it as there are many classes and structures, but does someone know where this may be stored and how to access it outside of the UI?

    upload_2024-4-28_13-25-30.png

    Many thanks for any ideas!
     
  2. greggryan2

    greggryan2 Active Member

    Joined:
    Dec 21, 2018
    Messages:
    420
    Likes Received:
    179
    You will prob have to drill down to get the track speed limit. Also the signs don't have one as they are set my what the track speed limit is.

    Try going through the various components on the details panel on the track both in and not in ribbon mode and see if one specific comp holds your data your wanting
     
  3. lewisthomas22

    lewisthomas22 Member

    Joined:
    Feb 22, 2020
    Messages:
    25
    Likes Received:
    62
    Did you ever figure this out?
     

Share This Page