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

FSXA ADE Import from Bgl or XML Function

Messages
29
Country
unitedstates
Hello Jon, Everyone....

I am using the current version of ADE and am having a problem with the import from bgl /xml function. Specifically importing an exclude bgl/xml into my airport project. Often the various freeware authors will include separate exclude bgl files with their airport projects vs including them within the ADE file itself. When modifying these airports (with permission) it is helpful to see these excludes, their positions, and what the original author intended to exclude to begin with.

This was easily accomplished through the "Import from Bgl " function, as well as the "Import from xml " function if the exclude or other info was in the xml format. This is very helpful when dealing with FS9 airports when converting to FSX. With the last two releases of ADE this operation is ignored and no exclude data is imported into the ADE project.

Today I was working with a freeware FS9 version of Yellowknife CYZF. The scenery contains 7 separate exclude bgl files. I again attempted to import the exclude with no luck. I de-compiled the bgl file into a xml file and that was ignored by ADE. I compiled the xml into a FSX bgl and that was also ignored by ADE.

Just to make sure I was not imagining what I used to do with previous versions of ADE, I located an older ADE version 1.55 and installed the software on a separate HD. I loaded up the same airport file I was working with and was able to import the exclude bgl's/xml without any problem. ADE performed just as I remembered in the past.

I should note the newer versions of ADE seem to have no problem importing a library object bgl for instance. Is there a reason importing an exclude bgl/xml is no longer possible with the newer versions of ADE?? Is this perhaps a pro key feature, or is there some option setting I have ignored or set incorrectly??

If this is how ADE is going to operate now, how do you get the exclude placed correctly. You can take the location coordinates from the xml file and create a new exclude. But there is no way to manually set the lat/lon coordinates as in the "Set by Drag" feature for library objects that I know of. Thanks for your time.

Regards,
Rob
 
I do not recall that we changed what gets imported. If it has changed then it is possible that is a bug. Can you please send me some example bgl files so that I can test and also let me know what airports they are for. If it is a bug then I will try and fix it as soon as I am able. Email address is jon AT scruffyduck DOT co DOT uk
 
OK - I have it. I am out of the office today but will look at it as soon as I can
 
I have found the problem. It is not a change in the import code but something in the way exclusion rectangles are handled. I am out of the office until later this afternoon but I will try and look at it this evening

Thanks for reporting it :)
 
This should now be fixed and ADE should import Exclusion Rectangles from bgl and xml files.

Should be in the next update.
 
Hi Jon,

My apologies, I somehow missed your reply. Thank you for correcting the problem so quickly. Should have mentioned the issue earlier.......I was originally thinking I must have inadvertently changed a setting or didn't select the proper option. When I finally sat down and thoroughly looked at my system and didn't find anything, I thought I might as well speak up and post the problem. Thanks again Jon....

Regards,
Rob
 
Loaded the LEZL_ADEP4_619496.bgl file with ADE as FSX version.
I tried to compile the LEZL_ADEP4_619496.bgl to FSX and I get error.
Can somebody help me out compiling to FSX?
Regards,
Pat
 

Attachments

Last edited:
I compiled the LEZL ADE file by removing the "boundary fence". Now, I want to add the boundary fence from the original AFCAD. The copy/paste worked but failed the compilation. Am I missing something?
Pat
 
HI, I tried to help you opening your little strange BGLfile in ADE.
Now I don't understand your problem. Why did you first remove the "boundary fence" and later you tried copy/paste the boundary from the original AFCAD? Where does the original AFCAD come? Where does the other (?) file come? By the way your LEZL ADE file has some mistakes you could find with the ADE fault finder.
 
Christian, I will try to explain my experience with LEZL Seville AFCAD facing with ADE.
I open ADE with FSX version to deal with.
Once LEZL AFCAD (P3Dv4 same freeware) is loaded I proceed to compile it so intended to get the AFCAD file for LEXL Seville for FSX sim.
If I load FSX with the AFCAD from P3Dv4 directly then the FSX does CTD.
So, at a time when the AFCAD (P3Dv4) is loaded as mentioned earlier, ADE doesn't compile it and error message is present.

Here is a partial last part of the error message:

..........
ERROR: <FSData
ERROR: version = 9.0
ERROR: >
ERROR: <Airport
ERROR: country = Spain
ERROR: city = Seville
ERROR: name = Seville
ERROR: lat = 37.4179221689701
ERROR: lon = -5.89891389012337
ERROR: alt = 33.832M
ERROR: magvar = 2
ERROR: trafficScalar = 0.7
ERROR: airportTestRadius = 5000.0M
ERROR: ident = LEZL
ERROR: >
ERROR: <BoundaryFence
ERROR: profile = {a825de17-9ad3-4e40-8da3-2ce71a0d7e5c}
ERROR: >
ERROR: <Vertex
ERROR: lat = 37.4201423674822
ERROR: lon = -5.91352701187134
ERROR: >
ERROR:
INTERNAL COMPILER ERROR: #C2607: Compilation errors detected, compilation failed!


Parse complete!

--------------------------------------

from Issue Manager message:
Your Bgl Compiler will not compile correctly. Update to at least SP1a. Click Fix to open the download page in your browser.

--------------------------------------

If I highlight the "Boundary Fence" from the loaded AFCAD and selecting Edit I get the Properties dialog box and I select the option: "Force Skip Compile" then the compilation goes thru fine, and I can use the new AFCAD with FSX. But I don't get the boundary fence on the loaded LEZL with FSX sim.

I tried later, to copy the boundary fence from the original AFCAD (P3Dv4) and pasted on the recently compiled AFCAD file and I can't compile it because of the same error message as mentioned earlier.

So, I don't see how to add that fence into the good, compiled file.

ADE Fault Finder didn't help me.

Pat
 
What compiler are you using? Some early versions do not handle boundary fences well. Have you updated to at least the SP2 SDK, or the P3D 1.4 SDK?
 
I am using the ADE Version 1.79.7475 development build to compile. P3D SDK 1.4? I want to compile the AFCAD in question for the FSX sim, not for P3D.

Pat
 
You will need to update to either SP1a of the SDK or as Tom said,, SDK SP2 or P3D SDK v1.4. P3D SDK V1.4 can be used for P3D and FSX or FSX SE.. You will not be able to use any other P3D beyond v1.4 for FSX though.
 
Pat, yesterday I found your freeware at AVSIM. It is for P3D 1.4. I tried to install in my FSXA but it was not so easily. Try and error and I found a way to install it correctly.
It is not perfect but it works for me - with boundary fence
1696318699266.gif
See the attachment.
 

Attachments

Christian, good artwork! I have to tell you I tried last night to compile with Prepar3D v3 SDK 3.4.22.19868 and it worked. So, I will keep that SDK using for ADE to compile FSX AFCAD instead of the SDK SP2.
Thanks for your efforts.
Pat
 
Back
Top