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

0 points features are created

Messages
269
Hey,
I am trying to place an own built light object along roads.
Everytime I get the message that 0 points were created, although BGL objects are created too.

This is my script:
Code:
ImportOGR|C:\Users\barro\OneDrive\Dodcuments\Ramat HaGolan\222222.shp|*|*|AUTODETECT

#
PlacePointsAlongLine|FTYPE="LINE"|CONTINUOUS|15;15|5;5|0|string|light|hdg
#
CreateXMLLibObj|*|{db073204-1457-47d3-8781-deed371f0ae1}|hdg|0|0|*
#
ExportBGL|P3D v2|lightstest1|C:\Users\barro\OneDrive\Dodcuments\Ramat HaGolan\Scenery


This is ScenProc log:

Code:
5:57 PM    PlacePointsAlongLine    Warning        No attribute type specified for category string, assuming String
5:57 PM    ImportOGR    Information    Reading file C:\Users\barro\OneDrive\Dodcuments\Ramat HaGolan\222222.shp
5:57 PM    ImportOGR    Information    Read 847 features from file
5:57 PM    PlacePointsAlongLine    Information    Placing point features along lines with filter FTYPE="LINE"...
5:57 PM    PlacePointsAlongLine    Information    Created 0 point features
5:57 PM    CreateXMLLibObj    Information    Creating XML library objects with filter *...
5:57 PM    CreateXMLLibObj    Information    Created 847 XML objects
5:57 PM    ExportBGL    Information    Exporting with basename lightstest1 to folder C:\Users\barro\OneDrive\Dodcuments\Ramat HaGolan\Scenery
5:57 PM    BGLXWriter    Information    Starting writing of file C:\Users\barro\OneDrive\Dodcuments\Ramat HaGolan\Scenery\lightstest1_0.bgl
5:57 PM    XMLWriter    Information    Starting writing of file C:\Users\barro\OneDrive\Dodcuments\Ramat HaGolan\Scenery\lightstest1_0.xml
5:57 PM    XMLWriter    Information    Finished writing of file C:\Users\barro\OneDrive\Dodcuments\Ramat HaGolan\Scenery\lightstest1_0.xml
5:57 PM    BGLCommp    Information    Parsing document: lightstest1_0.xml
5:57 PM    BGLCommp    Information    Parse complete!
5:57 PM    BGLXWriter    Information    Finished writing of file C:\Users\barro\OneDrive\Dodcuments\Ramat HaGolan\Scenery\lightstest1_0.bgl
5:57 PM    SceneryProcessor    Information    scenProc finished processing
5:57 PM    SceneryProcessor    Information        0.08 seconds for IMPORTOGR
5:57 PM    SceneryProcessor    Information        0.00 seconds for PLACEPOINTSALONGLINE
5:57 PM    SceneryProcessor    Information        1.19 seconds for CREATEXMLLIBOBJ
5:57 PM    SceneryProcessor    Information        0.33 seconds for EXPORTBGL
5:57 PM    SceneryProcessor    Information        1.60 seconds total



Any ideas?
 
it doesn't look like any vector lines were picked up!
did you verify you have vector lines in the data file?
 
Last edited:
Hi Bar :)
use type="*" instead without FTYPE="LINE", i believe in the new scenProc PlacePointsAlongLine implies a line!
or look at the attribute table and match the asterisk with the attribute value you find there,
 
Does placing an XML library object requires a polygon to be created before?
Points arent even created in the first place... I have attached the SHP file so you can have a look at it.
 

Attachments

it needs to be converted first yes!
its a new step in the new scenProc logic
No, that's only for agn. And like the other reply says no points are made anyway, so they could not even be converted to polygons.
 
In not near my pc now, but the FTYPE attribute is automatically determined by scenproc, so it should not be in your data already.
 
Good to hear. Let me still check why the attribute in the data has higher priority than the automatically calculated one. That's not what I expected.
 
Back
Top