Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Conditional Visibility in A/C Preview (FS9)

Featured Replies

  • Commercial Member

I have a part (actually a number of them) which need to be visible in A/C preview, but have conditional visibility code attached. Since the makemdl parts code isn't actually parsed until flight, ANY part with visibility code is defaulting to '0', thus not visible.Is there any way to prevent parts with visibility code from disappearing in preview? I think I already know the answer, but I just want to make sure:)Thanks,Jon

  • Author
  • Moderator

Yes, invert the display condition so that by default the result is zero...Actually, the embedded XML code in the .mdl IS parsed whenever the model is selected for preview. Otherwise, there'd be no model to display! :)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Commercial Member

Thanks, Bill, I suppose that's what I'll have to try. I thought somebody mentioned tags ALWAYS resulted in zero i.e. invisible prior to loading the sim, but what you're saying about the model being visible makes perfect sense. One of those slap yourself upside the head moments...Thanks,--Jon

  • Author
  • Moderator

>Thanks, Bill, I suppose that's what I'll have to try. I>thought somebody mentioned tags ALWAYS resulted>in zero i.e. invisible prior to loading the sim, but what>you're saying about the model being visible makes perfect>sense. One of those slap yourself upside the head moments...Well, all the variables referenced in the XML code will certainly be zero, since the sim isn't "running" yet... :)I ran into this problem with the SR20/22 Cirrus models and their CAPS (parachute) system. I had to invert the display condition in order to prevent the deployed chute(s) from displaying in the Preview Window......which is, of course the exact opposite of your problem, although the solution is the same! :)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.