• 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.

how to remove objects from a .bgl

Messages
49
Hey folks !

I want to remove a few unwanted buildings that come with an airport scenery, does anyone know how I can remove them and recompile the .bgl ? can I use msfs 2020 SDK or ADE F20 ?
 
You must compile your own scenery project, either with msfs sdk or ADE, add an exclude rectangle with excludelibraryobject option if you are trying to exclude users added object
Or a polygon with exclude all (or less, try all the option to identify what you want) if you want to exclude default scenery
Anyway, make sure your compiled project Is loaded After the One you want to exclude (scenery to exclude start With "OffendingScenery", yours should start with, at least, something like "Overthatscenery"...alphabet, got It?
Cheers!



Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
thanks for the reply, how do I create my own project and how to relate it to the initial .bgl that has the unwanted buildings ? currently I got trouble loading the .bgl, both sdk and ade talk only about new projects as an .xml or apf. etc.
 
Last edited:
ok I will initiate a new project on sdk and it will be an exclude package. i’m now only concerned about the photogrammetry in the area, honestly not sure if this exclude package will sweep everything else, including the photogrammetry, while trying to remove the unwanted buildings that come with the airport scenery. I actually don’t want the wonderful photogrammetry city to get nuked down.
 
Default photogrammetry can be excluded only with a exclude polygon with exclude TIN (TIN Is photogrammetry).
User created "ripped from Google" photogrammetry Is pretty much like a scenery object
The exclude rectangle with libraryobject option exlude objects that have their own origin within It, you can resize the rectangle as much you want to avoid unwanted exlcusion
Havent tryed yet if exclusion Is by mesh origin or by coordinates, you should try fiddling moving the exclusion rectangle

Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
my area of interest has default PG, therefore, from what I’ve learned from you so far, I may deduce that a standard exclude will not negatively effect it, nuking down the city or washing it away etc. I’ll make and see. thanks again for your time, mate.
 
yeah and I hope exclude works as polygons instead of larger meshes, which would be rather risky.
 
I knew my first attempt would be a total failure, it was and it even caused the sim CTD while compiling the exclude .bgl and got me to repair and reinstall my sim from scratch. Geez, keep away from SDK !
 
Pretty strange that sdk gonna Blow your Sim!
Anyway, if you want to share coordinates of the objects you want to exlclude i Will be glad to provide a working project i'm sure It Will not ctd!

Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
It’s actually the Miami bay area. I want to get rid of all of the handcrafted buildings that come with KMIA scenery. I’m sure it was my bad as I first tried to draw too big a rectangle to go in one shot and it must have been an overload for the sim. This time around, I’ll try to go building by building, ie one building at a time and create multiple exclude blocks one after the other in one project. If I fail again, I’m happy that you are eager to help me, thanx man.
 
first rectangle
(including unwelcome buildings that come from KMIA scenery)

bottom left coordinates :
25°44'54"N 80°12'07"W
top right coordinates :
25°48'53"N 80°11'06"W

second rectangle
(including unwelcome buildings that come from KFLL scenery)

bottom left coordinates :
26°06'26"N 80°08'49"W
top right coordinates :
26°08'01"N 80°08'04"W
 
according to those coordinates you want to exlude only photogrammetry,
here you go sir, the full package project ready do be modified, or you can directly place the kvary-exc folder in your community (it is inside /Packages) :D
 

Attachments

  • kvari-exc.zip
    33.4 KB · Views: 149
thanks a lot for your help, I’ll give it a try and report back, hopefully will remove the custom buildings within the PG without interfering with the PG.
 
Ouch, i didn't get It right!

In the Project i provided theres Is also a polygon excluding photogrammetry, so you have to delete It in the scenery editor to bring PG back, make sure to compile and Copy package in community again

Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
thank you so much, i’ll do it. all I hope for is my sim not causing just another CTD while compiling. last time I did, I needed to reinstall the whole thing from scratch.
 
Ouch, i didn't get It right!

In the Project i provided theres Is also a polygon excluding photogrammetry, so you have to delete It in the scenery editor to bring PG back, make sure to compile and Copy package in community again

Inviato dal mio Mi 9 Lite utilizzando Tapatalk
may I sincerely ask if you can take out the PG exclude part off the package and recompile because I'm sure I'll fail to do so.
 
okkk so you want to exclude 3d party scenery! got it!
unzip smaller file in your community, should be ok (only 2 big exclude rectangles), can't check if they work as intended since i don't own those 3d party scenes

the second file is the project source, along with the fspackagetool, it is the sdk compilare, you can safely use it to compile projects outside the sim withoud worry
to harm your installation
 

Attachments

  • zzkvary-exc.zip
    12.6 KB · Views: 132
  • zzkvari-exc-project.zip
    71.9 KB · Views: 153
It worked like a charm.

Ft Lauderdale downtown and Miami Bay is now back to PG only, totally free of the fake looking cartoon buidings.

Thanks a lot, I'm so grateful.
 
okkk so you want to exclude 3d party scenery! got it!
unzip smaller file in your community, should be ok (only 2 big exclude rectangles), can't check if they work as intended since i don't own those 3d party scenes

the second file is the project source, along with the fspackagetool, it is the sdk compilare, you can safely use it to compile projects outside the sim withoud worry
to harm your installation
thanks again, you are a genius. one quest tho, if i happen to modify the exclude rectangles or add a brand new one, should the sim be running on the sdk screen when I run the ,exe to create the exclude scenery package ? or may I simply use it when the sim doesn’t run.
 
Back
Top