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

Removing Objects From FS

Messages
4
Hi,
just a quick question about Gmax.
There's a factory in FS, its pretty boring and completely in the wrong place where I live.

So I rebuilt my own one, and put it in the right place.

Question is, now obviously I have 2 factories within the vicinity, how do I remove the old one?

I was wondering whether to create a new bgl file in the same location as the old object, but just create a flat rectangle or something. Maybe that would make the old factory disappear?

Any response gratefully appreciated.
 
You would have to make an exclude to remove the old one. This can be done in two ways. One is to use ExcBuilder, which gives you a GUI to draw the exclude.

Another option is to read the BGLComp SDK and add the XML commands for the exclude to your placement XML by hand. If you know the coordinates that is rather easy to do.
 
Example Exclude XML

Here is an example of an Exclude XML file for an airport I made. It was used to remove the trees on a taxiway. The latitudes and longitudes create a rectangle that will remove the the excluded objects that are tagged with TRUE.

Also, when entering the longitudes in the western hemisphere, you will notice the minimum and maximum numbers are reversed because of the negative longitude in the western hemisphere in relation to the prime meridian. This is also true of the latitudes in the southern hemisphere, because of their negative placement to the Equator.

I don't know if it matters a lot, but I always name my exclude files using an underscore " _ " at the beginning of the name. I guess it is just a carryover from FS98, but it seems when I do this, the exclude file gets processed first, which seems to eliminate the problem with the objects not being removed, as with including the exclude in with your object placement XML.

<?xml version="1.0"?>
<FSData
version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<ExclusionRectangle
latitudeMinimum = "N41 05.28"
latitudeMaximum = "N41 05.83"
longitudeMinimum = "W81 00.07"
longitudeMaximum = "W80 59.34"
excludeAllObjects = "TRUE"
excludeBeaconObjects = "FALSE"
excludeEffectObjects = "FALSE"
excludeGenericBuildingObjects = "FALSE"
excludeLibraryObjects = "FALSE"
excludeTaxiwaySignObjects = "FALSE"
excludeTriggerObjects = "FALSE"
excludeWindsockObjects = "FALSE"/>
</FSData>

Take care,
Big John
 
John...
I tryed to reach you at the site posted below your name and I get a no go.
I changed my ISP and didn't have a copy of yours.
My new one is raptor1@earthlink.net
Stay in touch...
Joe W.
 
Sorry Joe

Hi Joe,

Long time, no talk to. Yah, my site is down, a little confusion on the domainname thing. I am just waiting for the DNS to lock in. Not too sure what is going on, but the people at the server provider are working on it.

Try this one Joe, bigjohn53@sbcglobal.net

Really glad to hear from ya, missed you on the MSN Messenger. MSN email is johnwmsfam@hotmail.com .

Take care,
John
 
Back
Top