- Messages
- 238
- Country

Hi,
I am creating a thermal in FSX with...
HRESULT SimConnect_WeatherCreateThermal(
HANDLE hSimConnect,
SIMCONNECT_DATA_REQUEST_ID RequestID,
float lat,
float lon,
float alt,
float radius,
float height,
float coreRate = 3.0f,
float coreTurbulence = 0.05f,
float sinkRate = 3.0f,
float sinkTurbulence = 0.2f,
float coreSize = 0.4f,
float coreTransitionSize = 0.1f,
float sinkLayerSize = 0.4f,
float sinkTransitionSize = 0.1f
);
But the call to Remove the thermal requires an ObjectId...
HRESULT SimConnect_WeatherRemoveThermal(
HANDLE hSimConnect,
SIMCONNECT_OBJECT_ID ObjectID
);
How do you get the object ID of the thermal you created so you can remove it?
Thanks,
Gregg
I am creating a thermal in FSX with...
HRESULT SimConnect_WeatherCreateThermal(
HANDLE hSimConnect,
SIMCONNECT_DATA_REQUEST_ID RequestID,
float lat,
float lon,
float alt,
float radius,
float height,
float coreRate = 3.0f,
float coreTurbulence = 0.05f,
float sinkRate = 3.0f,
float sinkTurbulence = 0.2f,
float coreSize = 0.4f,
float coreTransitionSize = 0.1f,
float sinkLayerSize = 0.4f,
float sinkTransitionSize = 0.1f
);
But the call to Remove the thermal requires an ObjectId...
HRESULT SimConnect_WeatherRemoveThermal(
HANDLE hSimConnect,
SIMCONNECT_OBJECT_ID ObjectID
);
How do you get the object ID of the thermal you created so you can remove it?
Thanks,
Gregg
