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

how do I write in the filter of CreatAGNGenBuild to create autogen objects

Messages
116
Country
china
In the last step, how do I write in the filter of CreatAGNGenBuild to create autogen objects? All the above steps can be created, except for the last step, 0 are created
12.png
 
Can you show the event log output from running the script?

I see for the autogen step that you filter on BUILD TYPE is 3 as well, are you sure the features have that attribute? Or to ask differently why did you add that condition to your filter? What you want to achieve with it?
 
Can you show the event log output from running the script?

I see for the autogen step that you filter on BUILD TYPE is 3 as well, are you sure the features have that attribute? Or to ask differently why did you add that condition to your filter? What you want to achieve with it?
123.png

At the very end of the eighth line of my code I set a 3, and then I felt that in the last line of the filter I could set the building type of the third class to what I wanted
 
Yes, and can you show the part of the log higher up where the BUILDTYPE attribute is assigned? It might be value is never assigned.
 
The filename you mention in the FROMFILE attribute is different in the step that creates the AGN buildings than in the steps where you assign the BUILDTYPE attributes. Are you importing from multiple files?

If you only load data from 1 SHP file, there is no need to use the FROMFILE attribute to check from which file they come.
 
The filename you mention in the FROMFILE attribute is different in the step that creates the AGN buildings than in the steps where you assign the BUILDTYPE attributes. Are you importing from multiple files?

If you only load data from 1 SHP file, there is no need to use the FROMFILE attribute to check from which file they come.
I just changed the shp file to a new one, but when I createAGNGenBuild it still doesn't create the file
 
Can you show the entire script and the log again that you are using now?
 
Do you mean the amount of floors with small? I see that you set the heights to taller buildings in your script already. But in FS it also depends on the footprint size, smaller footprints give buildings with less height.
 
Back
Top