How to set sandstorm in PrePar3D?

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
jjshi
Posts: 3
Joined: Mon Aug 16, 2021 5:43 am

How to set sandstorm in PrePar3D?

Post by jjshi »

Hi all,

I am developing weather through SimConnect API, and noticed sandstorm under "Present conditions" in Metar Data Format from https://www.prepar3d.com/SDKv4/sdk/simc ... tions.html.

IDDPP, PP can be sandstrom.

However, I failed to set the weather as sandstorm. The Metar string is set as the following:
hr = SimConnect_WeatherSetObservation(hSimConnect, 0, "GLOB METAR 000000Z 00000KT&D305NG SS 2CU001&CU000FMVN000T 15/10 Q1013");

Is the "Present conditions" just returns the current state or can it be configured and set to the current weather? Thanks.
Post Reply