How to get all waypoints of flight plan

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Post Reply
john.kim
Posts: 1
Joined: Fri Aug 23, 2019 12:19 am

How to get all waypoints of flight plan

Post by john.kim »

I can obtain the next waypoint of flight plan using below simulation variables:

GPS WP NEXT LAT
GPS WP NEXT LON

But I can't get the information of other waypoints.

Flight plan line is showing on Map or Flight planner dialog.

How can I get lat/lon of all waypoints?

what can I use any variable or pdk services for getting the lat/lon of all waypoints?

Please help me.
Thank you.
BenBaron
Posts: 80
Joined: Fri Jan 16, 2015 7:51 am

Re: How to get all waypoints of flight plan

Post by BenBaron »

Hi John,

you can use the variables in the following link in conjunction with the ExecuteCalculatorCode() function of the PDKs IPanelSystemV400 interface to query the GPS system for a lot of flightplan data:

https://www.prepar3d.com/SDKv4/sdk/pane ... ables.html

Greets,

Benny
Post Reply