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

ERROR - IMPORTSHP requires 3 arguments

Messages
219
Country
italy
Hello Everybody! Just got my hands back on ScenProc after 2 years to check improvements. I get this errors when I scan attributes.

Code:
# 0S9 - Deciduous-Forest
 IMPORTSHP|landcover_1.SHP|NOREPROJ

I found a forum in french where they said ScenProc needs the coordinates. I tried that but ScenProc crashes when I scan attributes.

Attached the files I am trying to process.

best
Gabriele
 

Attachments

Hi,

Hover over the command and you'll see the help text. You need to provide three attributes as the message says, so filename, coordinates and projection. You can use a * for the coordinates if you just want to read the entire file.
 
Error fixed but no autogen were created.

Code:
22.18	IMPORTSHP	Information	Reading SHP file E:\Landcover-for-PS\Deciduous-Forest\SHP\landcover_1.SHP
22.18	IMPORTSHP	Information	Read 113 features from file
22.18	SPLITGRID	Information	Splitting features in 0,0146484375 x 0,010986328125 grid...
22.18	SPLITGRID	Information	Features divided in 35 cells
22.18	CREATEAGNPOLYVEG	Information	Creating autogen polygon vegetation with filter FTYPE=POLYGON;type=Dec_for...
22.18	CREATEAGNPOLYVEG	Information	Created 0 autogen objects
22.18	WRITEAGNFILES	Information	Writing AGN files to folder E:\Landcover-for-PS\Deciduous-Forest
22.18	WRITEAGNFILES	Information	Written 0 autogen files
22.18	SceneryProcessor	Information	scenProc finished processing
22.18	SceneryProcessor	Information	    0,14 seconds for IMPORTSHP
22.18	SceneryProcessor	Information	    0,17 seconds for SPLITGRID
22.18	SceneryProcessor	Information	    0,03 seconds for CREATEAGNPOLYVEG
22.18	SceneryProcessor	Information	    0,01 seconds for WRITEAGNFILES
22.18	SceneryProcessor	Information	    0,34 seconds total
 
Glad to hear it works now.
 
Back
Top