Reset Camera

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
User avatar
A.BETTAN
Posts: 38
Joined: Thu Jul 05, 2018 12:33 pm
Location: LFMN NICE FRANCE

Reset Camera

Post by A.BETTAN »

Hello,

I use P3DV4.5 and I need some help to use the "reset camera" view command from inside a script.

This menu options doesn't seem to generate an event, there is no LVAR, no possibility to change a simulator value and no command to send.

How is it possible to circumvent this difficulty ?

Thank you for your help
Simmer depuis FS1 en 1982 !!!, passé à P3DV4.5
Config : WIN10, 64 bits. AMD Ryzen 7 4,4GHz, 16G RAM, GeForce GTX1070 8G
SAITEK proflight, multipanel, radiopanel, rudder, Thrustmaster Cougar
Site : fermé, désolé...
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: Reset Camera

Post by Clifton Crane »

Hi A.BETTAN,

I don't think we have an event that provides the same functionality as the "Reset Camera" menu item, however the PDK's ICameraSystem interface has a Reset function that should work in the same way as the menu item.

Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
User avatar
A.BETTAN
Posts: 38
Joined: Thu Jul 05, 2018 12:33 pm
Location: LFMN NICE FRANCE

Re: Reset Camera

Post by A.BETTAN »

Thank you for your answer.

I suppose that "PDK" means "SDK" ?

Cordially
Simmer depuis FS1 en 1982 !!!, passé à P3DV4.5
Config : WIN10, 64 bits. AMD Ryzen 7 4,4GHz, 16G RAM, GeForce GTX1070 8G
SAITEK proflight, multipanel, radiopanel, rudder, Thrustmaster Cougar
Site : fermé, désolé...
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: Reset Camera

Post by Clifton Crane »

Hi A.BETTAN,

The PDK is a part of the SDK that provides C++ interfaces for various Prepar3D systems. The SDK Samples solution has several projects that demonstrate how to use these interfaces.

Regards,
Clifton
Clifton Crane
Prepar3D® Software Engineer Sr.
Post Reply