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

Using only selected features from imported autogen

Messages
163
Country
luxembourg
Hi Arno,

Currently I am trying to find out how to do the following:

I am importing some existing autogen via IMPORTAGN step with CREATEFEATURES option.
Then I want to add my own autogen (no problem here) but from the imported autogen I want to use for instance only the vegetation. The rest of the imported autogen should not be exported.

Any idea how to achieve this?

Thanks a lot.

Milan
 
Hi,

I think at the moment you can't do that. I haven't added a feature to remove autogen and the import step imports all.

So I think I should either add a step to remove autogen or allow a selective import. I'll have a look at it.
 
Those parts of the autogen you want to keep, do you create them again from the imported features or do you leave them untouched?
 
my original idea was to leave them untouched - import existing autogen, delete the features I don't want, add my autogen, export again


still on this note - using scenProc, I exported the existing autogen as shp file and in qgis I removed the features I did not want and kept only the one I wanted (polygon buildings - as far as I know they cannot be created by scenProc at this moment); this leaves me with an shp file containing only the vector features I need... and I would like them to be converted to the autogen (so that later I could import them into scenProc and add the remaining autogen)

do you have any idea, Arno, how to compile the shp file into agn files? I can think of a parallel process to dragging a xml file over to bglcomp.exe when creating bgl?

thanks for any ideas

Milan
 
Hi,

If you export to SHP in between and edit that SHP manually it should already work right now. After editing the SHP you just import it into scenProc like you do with any shape and set up the right rules to recreate the autogen from the features in the shapefile. That should even be possible for polygonal buildings, scenProc can also make them.

I was thinking you wanted to do it in one go, so in the same script import the existing autogen, filter it by removing all buildings and then combining it with new autogen made from other sources. At the moment that won't work yet, because all autogen objects are imported and thus will also be exported again when you save. So I was thinking to add a filter on the import step to limit what gets imported.
 
Yes, you are right in saying that scenProc actually can already create polybuildings... I oversaw it :-)

Though, I have just realized that the way I went around this issue worked on my rather small testing area but it did not work in larger scale :-(

A filter in importing existing autogen might be a good way to go.

Thanks for your opinions anyway.

Regards,

Milan
 
Hi,

I think a filter to select by type of autogen object (buildings, rectangular vegetation, polygonal vegetation, etc) would indeed be useful if only part of the existing autogen is needed. I'll add it like that.
 
Hi,

I have added the extra options now to the IMPORTAGN step. It will be available in the development release of tomorrow.
 
Back
Top