XPLMSetUsersAircraft

XPLM_API void       XPLMSetUsersAircraft(
                         const char *         inAircraftPath);    

This routine changes the user’s aircraft. Note that this will reinitialize the user to be on the nearest airport’s first runway. Pass in a full path (hard drive and everything including the .acf extension) to the .acf file.