Archived

This topic is now archived and is closed to further replies.

Marniftarr

How Get Surface Type From Simconnect ?

Recommended Posts

Hello all !I need get surface type from simconnect , but i see zero result.I use:SimConnect.AddDataDefinition (1000, 'SURFACE TYPE', 'enum', SIMCONNECT_DATATYPE_INT32);simconnect1.RequestDataOnSimObject(9999,1000,SIMCONNECT_OBJECT_ID_USER,SIMCONNECT_PERIOD_VISUAL_FRAME,0,0,0,0);and read array when receive ID=9999 if requestid=9998 then beginSURFACE_TYPE:=simconnect1.GetDataLong(0,1);end;I see SURFACE_TYPE=0 ! Why ?Please help me !

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!