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

Why can't I export the bgl file?

Messages
151
Country
china
微信图片_20241123150620.png
Why can't I export gbl files? It doesn't work even with the simplest filter, it's always 0. Did I set it wrong somewhere?
 
Hi,

The Create3DBuilding step made no buildings, so that's why no BGL file is exported as well.

Are you sure that you shapefile does have an attribute called building? Did you check the SHP data in a tool like QGIS?
 
你好,

Create3DBuilding 步骤没有建造任何建筑物,所以也没有导出 BGL 文件。

你确定你的shapefile有一个名为building的属性吗?你用QGIS之类的工具检查过SHP数据吗?hai
HI arno,Why can I export ANG files?Does converting to agn format do not require shp data?
微信图片_20241123194032.png
Is this a building property?Is there something wrong with my code?
 
Last edited:
Your SHP data has an attribute fclass, which has a value of building. So then your filter should be fclass="building".
 
Those are not errors, they are warnings. But normally you should not get them on every building, it can happen for very complex shapes where the algorithm fails.

Can you show how your footprints look?
 
Those are not errors, they are warnings. But normally you should not get them on every building, it can happen for very complex shapes where the algorithm fails.

Can you show how your footprints look?
微信图片_20241124094237.png


this is only a small part😅😅
 
Those are not errors, they are warnings. But normally you should not get them on every building, it can happen for very complex shapes where the algorithm fails.

Can you show how your footprints look?
微信图片_20241124100508.png
微信图片_20241124100610.png


Even so, bgl cannot be exported
 
It's really weird that you get these errors with simple rectangular footprints. Can you send me that SHP file with the two buildings so that I can try to reproduce it here?
 
It's really weird that you get these errors with simple rectangular footprints. Can you send me that SHP file with the two buildings so that I can try to reproduce it here?
hi arno,Give it a try. This is a simple graphic I captured in that shp.
 

Attachments

Hi,

Now I see you are running scenProc 3.0 with this script. This error is due to a bug in version 3.0 that you can't make untextured buildings. If I run it in the latest development release it works fine for me. I used this script:

Code:
ImportOGR|test.shp|*|*|NOREPROJ
#
Create3DBuilding|FROMFILE="test.shp" And fclass="building" And FNUMVERT=4|3;6|elev|GABLED|30;40|0|0|0|NONE
 
Hi,

Now I see you are running scenProc 3.0 with this script. This error is due to a bug in version 3.0 that you can't make untextured buildings. If I run it in the latest development release it works fine for me. I used this script:

Code:
ImportOGR|test.shp|*|*|NOREPROJ
#
Create3DBuilding|FROMFILE="test.shp" And fclass="building" And FNUMVERT=4|3;6|elev|GABLED|30;40|0|0|0|NONE
微信图片_20241124150901.png
hi arno,I copied your code directly, and it actually prompted an error in my case. . . What went wrong?:(
 
Hi,

Now I see you are running scenProc 3.0 with this script. This error is due to a bug in version 3.0 that you can't make untextured buildings. If I run it in the latest development release it works fine for me. I used this script:

Code:
ImportOGR|test.shp|*|*|NOREPROJ
#
Create3DBuilding|FROMFILE="test.shp" And fclass="building" And FNUMVERT=4|3;6|elev|GABLED|30;40|0|0|0|NONE
微信图片_20241124151611.png
I get this error after using the new version.
 
Are you sure you downloaded a recent development release? Some of the bugs you reported were only fixed in the release a few days ago.
 
Are you sure you downloaded a recent development release? Some of the bugs you reported were only fixed in the release a few days ago.
微信图片_20241124163725.png
I just downloaded a new version, but when I ran it I got this error,How to correct this?
 
Are you sure you downloaded a recent development release? Some of the bugs you reported were only fixed in the release a few days ago.
hi,arno,Can you share a new version of yours? Because I just exported the AGN format file and also got the above error.
 
You can always get the latest version from this page:


The error message you get seems to indicate your scenProc installation might not be complete, the gdal_data folder seems to miss some files. Just download the release again should fix that.
 
Back
Top