[ORLD 2021 R2 C#] How to get speed table details?


using OpenRail Designer CE - 2021 Release 2 - Version (but I guess the version is not crucial in this case ;-)

My question is similar to Stanislav's question in Developers and Programming forum (where not answered).

When SpeedTable is obtained from Alignment using Alignment.ActiveSpeedTable property, the functionality is limited: As asked in the linked discussion, e.g. for speed schema (DesignSpeed class), it is not possible to receive its name, which makes the data useless, because DesignSpeed class publishes only start and end speed, but no information for what speed schema it is defined.

I found that in parallel to Bentley.CifNET.GeometryModel.SDK.SpeedTable class, another SpeedTable class, with better functionality,  exists in Bentley.CifNET.GeometryModel namespace. I assume it is a part of implementation of Speed Table dialog, but it is not "public SDK".

Is there a way to instantiate this "better and more complex" class for selected alignment? Despite of the same name and similar functionality, they are "different animals"  ;-) because SpeedTable from SDK is inherited from ModelEntity, whereas internal SpeedTable inherits NamedEntityReferenced and IStationPoints.

Of course, if simpler / alternative answer exists for Stanislav's question how to obtain speed schema name for specific DesignSpeed class (e.g. to access EC data directly), it would be great :-)

With regards,