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

Yet another feature request

Messages
596
Country
us-california
I haven’t checked if this behavior is still happening

It used to be if I had several steps going off the same script
After the first shape file was written; and scenProc moved to the second part of features
The second file is written using the first job data; instead of just the second part output
Is this deliberate?

the way i worked around it; is running multiple scp scripts off batch file

in other words; i couldn't combine multiple file outputs; off the same source file while using one script

source file A
#
generate some feature A,
output to shape
#
generate some feature B,
output to shape (this output will include both data from step one and two, instead of step two only)

can this be fixed or maybe it was fixed already?

can you allow a brake/flush/reload (new file)/reread (existing) command from within the script?
it would be nice to run one scp script with multiple outputs off a single job/script
 
Hi,

This is by design. If you want to clear all data you should start a new run.

Or add the right filter when exporting so that only the features you want are written to file.
 
Arno, I wish I'd thought of this over a year ago, an UNLOAD_ALL step might have been helpful. Global Mapper has it in their scripting language. I should have thought of it last year with regards to batching. Bit late now that I think about it. but might have been a good scripting solution.
 
But what's the difference between unload all and start a new script? I can probably add it quite easily, but I want to understand the use case for it.
 
sure, for me the logic is
1. its the convince of working from within the same scp script
same results as making a new script and batching the operation

in my case; i manage over 20 individual scripts
with brake/unload/flush/reread, all i need is 2 scp scripts

2. another thought
if same source is used (Brake with no flush); rereading the source again could be skipped (no sure if this is viable)
if new source is used, than prob flush and reread would be useful to maintain the flow from one script

with a single project; some of this approach doesn't make much sense
this is probably more useful for repetitive regional projects like some of us are involved with

i think today with some of us running 16-64gb ram, and latest processors
some performance considerations have shifted slightly over time
you have also increased the core stability and performance
this all adds up to more complex projects
 
Last edited:
Hi,

So is this the kind of work flow you have in mind?

LOAD VEGETATION
SPLIT VEGETATION
CREATE VEGETATION AGN
FLUSH DATA
LOAD BUILDINGS
SPLIT BUILDINGS
CREATE BUILDINGS AGN
....
EXPORT AGN
 
OK, I'll put the flush step on the wishlist. Should be quite easy to add I think.
 
Hi,

I have added a new step now, called UNLOADFEATURES. The only argument is the filter to select the features you want to unload.

One warning, the validation if you have a SPLITGRID command before creating autogen does not work well together with the UNLOADFEATURES step. So you have to make sure yourself that you add a new SPLITGRID step after loading more features.

Let me know if it works for you two, I just did a simple test that worked well, but I guess I don't have your quantity of data :D
 
THANK YOU Arno! W00T :wizard:

i need to wrap my mind around this; i feel like i just got my safety wheels taken off my bicycle
its all too new; working with one or two scripts now :yikes:

testing as soon as the build is available :stirthepo
 
Last edited:
i run a test, no split grid is used
exportbgl seem to still compound/appends the data between steps; instead of unloading and flushing the features
 
Last edited:
i run a test, no split grid is used
exportbgl seem to still compound/appends the data between steps; instead of unloading and flushing the features
Yes, I unload only the features. Not the created autogen or bgl objects now. I thought that was the workflow we described.

Why not only use EXPORTBGL at the end?
 
exportshp doesn't have the option to specify a path for output; is that easy to add?
I have to check. I think the library I use doesn't like that, that's why they are placed in the active folder.
 
Thank you Arno
your suggestion works fine off single scripts; as i end with exportbgl... to a file
i thought by unloading the data we could start a new file as well

i cannot use exportbgl once at the end with the new feature
as i export multiple times to different file names and features (off the same source)

my mistake;
i just noticed you described exportbgl once in the workflow
i should have noticed it before; i think i got confused by create... assuming its a file output
 
EXPORTAGN can only be used once, else you would loose autogen objects.

But for EXPORTBGL with different filenames you could use it multiple times indeed.

Maybe I can add an option to also remove xml objects or just do so by default. But not for autogen objects thus.
 
i didn't use exportagn in my test; i used exportbgl and shp without splitgrid
shp worked fine; bgl ended up compounding the data with each exportbgl file output
im guessing thats not the expected beauvoir from exportbgl?

definitely; remove xml objects should be by default
thats will prob resolve the compounding data thing
 
I guess I'll add a UNLOADXMLOBJECTS step as well. Then the user can decide what to unload or not. Because I think there are also use cases where you want to keep the xml objects.
 
Back
Top