• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS How to get the flight plan with simconnect ?

Messages
14
Country
france
Hi,

Someone know how to get Flight Plan in Flight Simulator with Simconnect ?

in the documentation I just found the next, previous and current index waypoint but not how to get the full flight plan :

GPS FLIGHT PLAN WP INDEX - Index of waypoint-
GPS FLIGHT PLAN WP COUNT - Number of waypoints
GPS WP NEXT ID - ID of next GPS waypoint


Best,
 
Messages
2,077
Country
us-ohio
SimConnect used to be able to provide the fully qualified path/filename upon it's loading.
 
Messages
14
Country
france
Hi,

Thanks, i will try to use this.

Another question: do you think we can get METAR data from IATA code with simconnect ?

Best
 
Messages
2,077
Country
us-ohio
If this is for MSFS, nope. That's broken last I heard. And I think the sim uses ICAO codes, not IATA. I could be wrong.
 
Messages
6
Country
unitedstates
SimConnect used to be able to provide the fully qualified path/filename upon it's loading.
So I have found how to pull the flight plan that you create on the world page. That is located at C:\Users\{USERNAME}\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\MISSIONS\Custom\CustomFlight\CUSTOMFLIGHT.FLT

What I can not figure out it. Is if i update the flight plan during a flight. How do I pull all of those waypoints.
 
Messages
2,077
Country
us-ohio
Uh... what if I don't have a flight plan and that file still exists? Just grabbing a file off the drive is not a safe approach. SimConnect will be the only safe approach, if they get that working.
 
Messages
6
Country
unitedstates
Uh... what if I don't have a flight plan and that file still exists? Just grabbing a file off the drive is not a safe approach. SimConnect will be the only safe approach, if they get that working.

Exactly that’s my problem.

I only set up the departure and arrival in the world map then set my approach once I get in the plane.

I can not figure out how to pull all those waypoints. SimConnect knows they are there, because the gps_wp_next_id updates instantly. I just can not figure out how which variable or temp file that SimConnect is pulling the data from.


Sent from my iPhone using Tapatalk
 
Top