plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


thealx avatar image
thealx asked thealx edited

get SURFACE TYPE of contact point

SURFACE TYPE aircraft variable returns ID of the surface under CG point

<ENABLE_SURFACE_TYPE_#> / <DISABLE_SURFACE_TYPE_#> parameter toggle effect visibility depends on surface type under CONTACT POINT

My question - is it possible with XML/SimConnect/JS to get surface type of contact points? I have followed effects template code but it ends as adding SurfaceType attribute, which is then read by sim code I guess rather than use any existing sim variables logic.

Alternative solutions may exist - configure the effect to be triggered by the surface I need, then read by XML state of this effect (is it active or not).

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

0 Answers


Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.