Jump to content
The simFlight Network Forums

Loading a *.PLN via FSUIP


mroschk

Recommended Posts

Yes, you can write the full path to offset 0x0130.

 

Example:

 

Declare the offset at form (class) level. (Here I have put it in it's own group and made it write only to make things simpler...)

 private Offset<string> flightPlan = new Offset<string>("LoadFlightPlan", 0x0130, 256, true);

To load the flightplan...

string flightPlanPath = @"C:\Users\phent_000\Documents\Flight Simulator X Files\VFR Jersey to Bristol.PLN";            this.flightPlan.Value = flightPlanPath;FSUIPCConnection.Process("LoadFlightPlan");

Paul

Link to comment
Share on other sites

Hello,

 

i had a test ... GREAT, THAT WORKS.

I also found this Offset, but did not know that it is th right one.

So Thanks

 

One Question... did you also know a way to clear the flightplan?

I tried to set a empty string in the Offset, but it did not work.

 

Matthias

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.