It would be nice if ASOBO also could respond to clarify if
the Simconnect API FlightPlanLoad documented in the MSFS2024 SDK
that now doesn’t work
is a logged bug to be solved
or
is a Simconnect API that is not going to be supported
If the last is the case, the documentation should at least be updated.
For now it seems to be very complicated to implement this function from any external simconnect application as it will require 2 additional frameworks to implement a solution., a WASM and a JS.
The flight plan APIs are our area at the moment (WT). The FlightPlanLoad call in SimBrief still works to populate the sim’s ATC flight plan (which is also what it did in 2020). However, like in 2020, the FlightPlanLoad call doesn’t automatically push plans to the avionics systems. In 2020 there is no API to push flight plans to avionics systems. We added the Planned Route API in 2024 to fill this gap.
If you need access to the Planned Route API from C++ instead of JS, it is also available in WASM: Planned Route API
Adding a WASM to interface my external SimConnect Client app is not that hard and will let me use the PlannedRoute API to load the EFB flightplan into the airplane avionics. Thanks for that information.
But I still don’t find any API to first load the flightplan( the .PLN) into the EFB.
I still have to do that manually with the EFB buttons “LOAD FLIGHT PLAN” or "LOAD / SAVE PLN FILE as I can’t find any way to do this from either the SimConnect API or the WASM API.
Digging into this stuff,
I also wonder why the logic and/or data to create a flightplan seems to be different between the web planner tool and the EFB. Why not use the same?
I have to say that both the planner and the EFB modules are a VERY big improvement over what we have in MSFS2020, so thank you.
Is there a reference to the “load” function in that API? I may have missed it but can’t find it in Planned Route API
Triggering a load of an external PLN file was previously the remit of the simconnect FlightPlanLoad(filepath) as per this thread, but afaik that ceased to function in MSFS2020 (not sure about that though). That creates the dependency in MSFS2024 on the 'load PLN from file" button in the EFB app which doesn’t fire the complimentary FlightPlanActivated(filepath) simconnect event, which makes all software in the sim dependent on how the EFB app then serves permutations of that data to the various API’s.