• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX bglcomp.exe is not working

Messages
65
Country
italy
I am trying to make an exclusion rectangle to exclude non-autogen objects. I tried to code an XML code, here it is:

<ExclusionRectangle
latitudeMinimum = "S27.4"
latitudeMaximum = "S26.3"
longitudeMinimum = "W109.5"
longitudeMaximum = "W107.5"
excludeAllObjects = "TRUE"/>

For somewhat when I drag the XML into bglcomp.exe nothing happens. What am I doing wrong?
 
There are errors in your XML code. Below is an exclusion rectangle that does compile.

<?xml version="1.0" encoding="utf-8"?>
<FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<ExclusionRectangle
latitudeMinimum="N30* 32.13'"
latitudeMaximum="N30* 32.18'"
longitudeMinimum="W91* 9.56'"
longitudeMaximum="W91* 9.49'"
excludeAllObjects="TRUE">
</ExclusionRectangle>
</FSData>

Hope this helps.
Ed
 
There are errors in your XML code. Below is an exclusion rectangle that does compile.

<?xml version="1.0" encoding="utf-8"?>
<FSData version="9.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<ExclusionRectangle
latitudeMinimum="N30* 32.13'"
latitudeMaximum="N30* 32.18'"
longitudeMinimum="W91* 9.56'"
longitudeMaximum="W91* 9.49'"
excludeAllObjects="TRUE">
</ExclusionRectangle>
</FSData>

Hope this helps.
Ed

I tried this and I corrected the coordinates, but still nothing happens
 
Try to compile from the command prompt to see which feedback bglcomp gives you. There's probably an error message there.
 
Hello:

The "non-airport-specific" scenery library objects on Easter Island (Isla De Pascua) ICAO: SCIP are FS SDK BGLComp XML-type

placed by:

[FSX install path]\Scenery\0205\scenery\OBX18410.bgl


sourced from:

[FSX install path]\Scenery\Global\scenery\airport_objects.bgl

...and:

[FSX install path]\Scenery\Global\scenery\landmark.bgl


as seen in FSX default - with Instant Scenery 3 (aka "IS3") with the IS3 "Labels" feature displaying BGLComp XML-type:

* Objects

*Generic Buildings

* Exclusions

...from all such BGLComp XML-type BGLs installed / 'active' in Area layers of the FSX Scenery Library

scip_all_obx18410_bglcomp_xml-placed_scenery_library_objects-jpg.25940


This example BGLComp-type XML Exclude rectangle covering the entire island should eliminate display of ONLY those objects: :idea:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 12/11/2015 -->
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">
   <ExclusionRectangle
      latitudeMinimum="-27.2038402408361"
      latitudeMaximum="-27.0564897358418"
      longitudeMinimum="-109.458533227444"
      longitudeMaximum="-109.227010756731"
      excludeAllObjects="FALSE"
      excludeGenericBuildingObjects="TRUE"
      excludeLibraryObjects="TRUE"
      />
</FSData>


NOTE: The above XML code example is de-compiled from a BGLComp-type XML "Objects & Buildings" Exclude rectangle made via IS3


Alternatively, one may a place a small BGLComp-type XML Exclude rectangle under each 3D object base, making sure that one has surrounded the entire base of the object to ensure one has intercepted its 3D datum placement Reference Point (aka "RefPoint"). :pushpin:


FYI: Rather than excluding ALL objects, one can instead specify ONLY 'certain' BGLComp-type objects to be excluded:

https://msdn.microsoft.com/en-us/library/cc526978.aspx#ExclusionRectangle



BTW: 1 other object at SCIP associated with the VOR:

sco_gen_vorsmall2dme {C0B537C3-808A-48BA- 8EFF-E1CA1A872E84}



...is placed via a 'different' BGLComp-type XML method as a 'visual model' for an airport-specific "non-scenery library" object <...in SCIP 'airport' code ?>, but still appears to be excluded by the above Exclude Rectangle parameter values :scratchch

%7BC0B537C3-808A-48BA-8EFF-E1CA1A872E84%7D.jpg



A visual guide to the default FSX BGLComp-type XML scenery library objects is here:

http://lc0277.gratisim.fr/sceneobjects/


PS: Info on Instant Scenery 3 (aka "IS3") is here: http://www.flight1.com/products.asp?product=iscen3


Hope this helps ! :)

GaryGB
 

Attachments

  • SCIP_All_OBX18410_BGLComp_XML-Placed_Scenery_Library_Objects.jpg
    SCIP_All_OBX18410_BGLComp_XML-Placed_Scenery_Library_Objects.jpg
    699.2 KB · Views: 1,197
Last edited:
Thank you a lot Gary! This solved the problem and just made me go back on with the work! Thanks for the time you spent to help me, this world needs more people like you! :)
 
Thanks for the kind words; please keep us posted with some screenies as your project progresses ! :)

GaryGB
 
Back
Top