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

CREATEAGNLIBOBJ not working so well

Kelvin Richardson

Resource contributor
Messages
152
Country
newzealand
Hi Arno,

Having an issue with creating power pylon objects.

I am only getting 2 XML files after processing.

I am using the below syntax, attached is my log.

I did a test and it seems that if I process a smaller are the BGL's are created but I want to be able to process the entire area rather than try to split it up in chunks, is this possible?

SYNTAX
IMPORTOGR|D:\TerrainProjectData\sourcefiles\Shapefiles\objects\nz-pylon-points-topo-150k.shp|*|*|NOREPROJ
#
SplitGrid|AGN|*
#
CREATEAGNLIBOBJ|FTYPE=POLYGON;FROMFILE=nz-pylon-points-topo-150k.shp|{54382ec5-b1bd-4a43-aa1a-4f5f529356c3}|hdg|00|18;12
#
EXPORTBGL|P3D v2|libobj|D:\TerrainProjectData\output\objects\pylons
 

Attachments

Hi,

CREATEAGNLIBOBJ should be used with EXPORTAGN. If you want to make BGL scenery like you do, you need to use CREATEXMLLIBOBJ instead.
 
As always, thanks for the correction.

Will this create a single BGL for the objects or many BGLS?

If not, is there a way to ensure that only one BGL file per object is created?

Thanks again, my project is coming along very nicely thanks to your awesome tool.
 
Hi,

This will create one BGL per grid cell. So it depends on the size in the SplitGrid command how many files you get. For BGL files the commonly used AGN grid size is probably too small.

If you want one BGL per object type, you would need to make sure you only process one object type in this specific script.
 
Back
Top