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.

Exclude with BGL Comp

Featured Replies

Has anyone tried an exclude with the BGL Compiler?I tried;<?xml version="1.0"?>but it doesn't like the syntax..boneshttp://fsaviation.net

  • Author

Hi bones.A this should work for a scenery exclusion:<?xml version="1.0"?>Dick

hey bonesplease try to use plain text formatting (it's a checkbox just above the message writing box) to send code snippets, as otherwise the board software could change lots of things and introduce errors.there seems to be some problems with your code. here's the corrected version:notice that since 'exclusionrectangle' does not allow child objects, you must close the tag with this way, not with '/exclusionrectangle'. this is stated in the beginning of the sdk. and yes, almost all of the examples are plain wrong.also, don't use spaces between the itens, the parenthesis and the values. BGLcomp seemed to accept it, but the resulting binary code in BGL was different (I did a byte-by-byte comparison)rafa

Panic over..All I did was strip out the line returns for the last two lines..boneshttp://fsaviation.net

So will the code I have just used not work? Example as previous with just the line returns removed..Apologies about not setting text format on the first post..boneshttp://fsaviation.net

  • Author

Hi bones.The complete code I gave you works.Rafa is just telling you why it works. And he is right that just about all the examples are wrong, and someone needs to rewrite the entire SDK with working examples.Dick

Perhaps my new ExcBuilder program can help you.Screenshot:http://www.estscen.net/misc/ExcBuilder.jpgFeatures:- Create fast'n'easy exclusion areas- Import coordinates from FS trough FSConnect.dll- Simple and user-friendly interfaceDownload: http://www.estscen.net/files/ExcBuilder.zip (45KB)BTW - Nice first "real program" for 14 year-old teen, huh? ;)

very impressive...how long have you been programming, and what languages have you studied? B

I bought MS' Visual Basic 6.0 (it was discounted :)) on 11. nomvember this year. Precisely month ago. I had never before programmed "real programs". Learning curve would have been pretty steep without knowing SCASM. Working with SCASM tought me "machine logic" - how variable systems and IF checks work.And it's good to know ExcBuilder works as it should. :)

Well done Paavo. We have noticed your name cropping up as a contributor recently. Can I say a belated welcome to our community, and look forward to hearing lots more from you.CheersGerrish

Oops. There was a bug in the original program. The .bgl was not compiled. Download the revised version here: http://www.estscen.net/files/ExcBuilder_2.zip

You seem to have the talent needed, congratulations Paavo!Since I am only a dabbler in programming since 1965 (Fortan IV, Basic), Am I that old?, I wondered about the requirement to include the various lines. For instance, the exclude:has numerous exclude lines. I question having to have all the lines if is set. Am I correct that if is set, the remaining lines are redundant and don't need to be part of the code?Alternatively, can you omit , if you are selectively setting the other lines or would you have to leave it as .W. Sieffert

Bill Sieffert

Very nice indeed!It saves a lot of messing around with batch files. :)boneshttp://fsaviation.net

Hi Dick,Yep - I appreciate the pointers for the right code (which I have now used). I was just trying to understand why my original code was not "approved".I've not touched XML before and owing to the badly written SDK I am falling into the trap many other newbies will drop into. I just wanted to get things down on paper so that my mistakes will be avoided by others.boneshttp://fsaviation.net

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.