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

New scenProc features

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,551
Country
netherlands
From tomorrow the scenProc 2.0 development release will have some new features included. Here is an overview of the main changes.

Polygon autogen library objects

The main change is that autogen library objects are now created from polygon instead of point features. This is in line with how Annotator creates these objects as well. The benefit of this is that you can now also create autogen library objects from building footprint data more easily. With the new CreateAGNLibObject step you can create the autogen library objects from polygons. The old way to create them from point is still available with the CreateAGNLibObj step that will be deprecated in the near future.

PointToPolygon step

Since library objects are made from polygons now, there are situations where you need to turn point features into polygon features. For this a new step has been added PointToPolygon. This step will create polygons with the length and width that you specify.

The existing ExtrudeLine step has been renamed to LineToPolygon step as well, so that the steps to convert between feature types have more logical names. The existing steps to create points from lines will be renamed to LineToPoint in the future as well to make everything more logical.

Updated tooltips

A third change is that I have changed the way that the help tooltips about the steps are generated. Before the information for the help text, the argument types and the sample line were spread in different places of my code. They are now in one place and that should make sure they stay in sync more (some of the help text was a bit outdated). So this new change should make the tooltips even more clear and accurate. But since I made a lot of changes now to the code, please let me know if some mistakes have slipped in.

Continue reading...
 
I have the impression the nightly build did not run correctly. So I think the new version is not yet online. I'll check later.
 
Please do not remove CreateAGNLibObj as an option. We use point data on a daily basis for library objects. Nothing wrong I see in having more "tools in the toolbox".
 
I just checked and the new build seems to be online. It seems I only didn't get an email from the nightly build run.

The old CreateAGNLibObj step will be removed. But by using the PointToPolygon step to make the polygons (something CreateAGNLibObj now does automatically) you can still use point features to make library objects as well. But I will not keep two very similar steps in scenProc, that only adds more work for maintaining the code (there are too many steps already, last week I made some changes to the step interface and changing that for the circa 60 steps in the tool was quite some work).
 
Once again, Arno weaves his Magic :wizard:!

I'm pretty sure we won't be losing any functionality and will have gained a whole lot more! Clutch - can always use an older version and then IMPORTAGN in a later run, right ;)? Bit fiddly but would work, Even so, Arno's probably got it all covered by the PointToPolygon step.

Many thanks again for all these toys to play with - and very timely for me, as you know, Arno. Looking forward to having a blast with this (and seeing what other wonderful capabilities have now been unleashed).

Cheers
ian
 
Arno
In manual (p.65) when it's describing the example of PointToPolygon, it doesn't seem to include a heading argument although the description shows 5 parameters. Is that correct?
ian
 
Thanks Arno for the new features. I have a minor problem with CREATAGNLIBOBJECT
When I try to edit the old line with
CREATEAGNLIBOBJ
change that to CREATAGNLIBOBJECT

it says, that the new function requires 2 arguments. No problem, but when I try to edit the line and delete the 2 arguments at the end I get the following error message:
My workaround in that case is change the command to CREATAGNLIBOBJEC so that scenproc cannot find the command, delete the 2 arguments at the end and than correct the command again.
So I found a way to use it, but I think you should know it.
Jörg



Code:
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er darf nicht negativ und kleiner als die Auflistung sein.
Parametername: index
   bei System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   bei ASToFra.scenProc.SceneryProcessor.GetAttributeType(String step, Int32 numAttribute)
   bei ASToFra.scenProc.MainWindow.txtConfiguration_ToolTipRequest(Object sender, ToolTipRequestEventArgs e)
   bei DigitalRune.Windows.TextEditor.TextEditorControl.OnToolTipRequest(ToolTipRequestEventArgs e)
   bei System.EventHandler`1.Invoke(Object sender, TEventArgs e)
   bei DigitalRune.Windows.TextEditor.TextArea.OnToolTipRequest(ToolTipRequestEventArgs e)
   bei DigitalRune.Windows.TextEditor.TextArea.RequestToolTip(Point mousePos)
   bei DigitalRune.Windows.TextEditor.TextArea.OnMouseHover(EventArgs e)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1055.0 built by: NETFXREL2.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.
----------------------------------------
scenProc
    Assembly-Version: 1.0.0.0.
    Win32-Version: 2.0.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/scenProc.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1055.0 built by: NETFXREL2.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1055.0 built by: NETFXREL2.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1068.2 built by: NETFXREL3STAGE.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
ASToFra.Interfaces
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.Interfaces.DLL.
----------------------------------------
ASToFra.Utils
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.Utils.DLL.
----------------------------------------
DigitalRune.Windows.TextEditor
    Assembly-Version: 1.3.0.0.
    Win32-Version: 1.3.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/DigitalRune.Windows.TextEditor.DLL.
----------------------------------------
ASToFra.EventLog
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.EventLog.DLL.
----------------------------------------
ASToFra.ObjectModel3D
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.ObjectModel3D.DLL.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1064.2 built by: NETFXREL3STAGE.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1055.0 built by: NETFXREL2.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1055.0 built by: NETFXREL2.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
ASToFra.FSUtils
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.FSUtils.DLL.
----------------------------------------
gdal_csharp
    Assembly-Version: 1.0.5806.41203.
    Win32-Version: 1.0.5806.41203.
    CodeBase: file:///C:/FS_Design/ScenProc/gdal_csharp.DLL.
----------------------------------------
ogr_csharp
    Assembly-Version: 1.0.5806.41203.
    Win32-Version: 1.0.5806.41203.
    CodeBase: file:///C:/FS_Design/ScenProc/ogr_csharp.DLL.
----------------------------------------
ASToFra.ObjectWriter
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.ObjectWriter.DLL.
----------------------------------------
ASToFra.AutogenConfiguration
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.1.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.AutogenConfiguration.DLL.
----------------------------------------
FlightToolkit.SimProp
    Assembly-Version: 1.0.5.0.
    Win32-Version: 1.0.5.0.
    CodeBase: file:///C:/FS_Design/ScenProc/FlightToolkit.SimProp.DLL.
----------------------------------------
System.Xml.Linq
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.0.30319.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll.
----------------------------------------
Ciloci.Flee
    Assembly-Version: 0.9.26.0.
    Win32-Version: 0.9.26.0.
    CodeBase: file:///C:/FS_Design/ScenProc/Ciloci.Flee.DLL.
----------------------------------------
Microsoft.VisualBasic
    Assembly-Version: 10.0.0.0.
    Win32-Version: 12.0.20806.33440 built by: FX45W81RTMREL.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
ASToFra.Coordinates
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.Coordinates.DLL.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1055.0 built by: NETFXREL2.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.6.1055.0 built by: NETFXREL2.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
ASToFra.ErrorHandler
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.ErrorHandler.DLL.
----------------------------------------
ASToFra.Autogen
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.1.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.Autogen.DLL.
----------------------------------------
osr_csharp
    Assembly-Version: 1.0.5806.41202.
    Win32-Version: 1.0.5806.41202.
    CodeBase: file:///C:/FS_Design/ScenProc/osr_csharp.DLL.
----------------------------------------
ASToFra.ObjectEditor
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.4.0.0.
    CodeBase: file:///C:/FS_Design/ScenProc/ASToFra.ObjectEditor.DLL.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
 
Arno
In manual (p.65) when it's describing the example of PointToPolygon, it doesn't seem to include a heading argument although the description shows 5 parameters. Is that correct?
ian
I'll check sounds like I made a typo there.
 
Joerg,

That must be a bug. I'll try to reproduce it here.
 
Hi Arno,
no problem, thanks for the response. I found a workaround but can test it whenever a new version is available.
Joerg
 
Hi,

I have fixed the crash and updated the manual now. So in tomorrows release it should all work fine.
 
Back
Top