How to get the SID/STARs waypoint or ese/sct files loaded by Euroscope Plug-in API

Hi, here. I’m the developer of ERC-plugin-for-Euroscope.

As we all know, the API FlightPlan.GetExtractedRoute() will return the extracted route after combine the enroute route and the SID/STARs. In case that, the following scene happens:

With the sector and flightplan data following,

SID:
SID:ZSPD:34L:HSN92D:HSH PD315 PD510 NINAS PONAB HSN

enroute route:
ZSPD PONAB W13 BEGMO W117 DST B221 LJG A470 AMURI ZSAM

STAR:
STAR:ZSAM:05:FQG91A:FQG ENVEN AM407 XLN AM111 AM103 ZSAMFF05 ZSAM

the API returns the extracted route exit the SID from PONAB but not HSN, which means the ES clips the SID at PONAB and combines it with enroute route.

I understand the situation is not common, and don’t expect it should be fixed globally. In my plugin, I want to load all the SID/STARs the ES loaded with full data(at least the waypoints), and clip the reformat the flightplan route in plugin side.

Is there an API provides SID/STARs waypoints or the sector files path?

To my knowledge, there is no function provided offering plugins to access this information. You need to parse the ESE file separately. I’ve also listed an extension of the API in this regard here: EuroScope plug-in API upgrade.

Thanks for reply. It seems Euroscope doesn’t provide an API returning the ESE file it loaded. Therefore, It’s impossible to easily ensure which ESE file has been loaded if there are more than one ESE files under the working directory, unless to load all the ESE files and compare the SID/STARs items one by one and make more overhead.