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

GP Wizard Settings Error

Messages
51
Country
newzealand
Hi Arno

I get this error whenever I load the Ground Poly Wizard's settings file (.mgp) when creating ground polygons. It occurs both when I load older .mcp settings files and load new ones that have been save with this version of MCX. I have the latest development release installer. The value mentioned in the error "1934.97" is the altitude of the airport too.

2pos16v.jpg


This is the error message I get under details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '1934.87' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at ASToFra.ModelConverterX.LocationControl.SetLocation(Double lat, Double lon, Double alt, Double hdg)
at ASToFra.ModelConverterX.GroundPolyWizard.LoadSettings(String filename)
at ASToFra.ModelConverterX.GroundPolyWizard.cmdLoadSettings_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2115.0 built by: NET47REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ModelConverterX
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ModelConverterX.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2110.0 built by: NET47REL1LAST
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.7.2110.0 built by: NET47REL1LAST
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.7.2046.0 built by: NET47REL1
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:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.Interfaces.DLL
----------------------------------------
ASToFra.ObjectModel3D
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.ObjectModel3D.DLL
----------------------------------------
ASToFra.ErrorHandler
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.ErrorHandler.DLL
----------------------------------------
ASToFra.Utils
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.Utils.DLL
----------------------------------------
ASToFra.ObjectReader
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.ObjectReader.DLL
----------------------------------------
ASToFra.ObjectWriter
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.ObjectWriter.DLL
----------------------------------------
ASToFra.EventLog
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.EventLog.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2046.0 built by: NET47REL1
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.7.2116.0 built by: NET47REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ASToFra.ObjectRenderer
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.ObjectRenderer.DLL
----------------------------------------
CSGL12DLL
Assembly Version: 12.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/CSGL12DLL.DLL
----------------------------------------
ASToFra.ParticleEffects
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.ParticleEffects.DLL
----------------------------------------
ASToFra.FSUtils
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.FSUtils.DLL
----------------------------------------
ASToFra.TextureObject
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.TextureObject.DLL
----------------------------------------
lib3ds.Net
Assembly Version: 2.0.0.13553
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/lib3ds.Net.DLL
----------------------------------------
ASToFra.TextureLoader
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.TextureLoader.DLL
----------------------------------------
ASToFra.ObjectEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Users/Riddlez/Desktop/FS%20Utilities/Model%20Converter%20X/ASToFra.ObjectEditor.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

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

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Let me check. It seems the value allowed for the dialog is different. But that doesn't make sense since you entered the value before.
 
Let me check. It seems the value allowed for the dialog is different. But that doesn't make sense since you entered the value before.

I tried saving the .MCP settings file before I clicked the Position Preset to add to the Ground polygons. It worked when I did that. But when I added the Position Preset then saved the .MCP file then reloaded it, then it comes up with that error. It's like the altitude that is saved to the .MCP file causes the error somehow.
 
OK, that's good information to know. Will help me to debug this.
 
Hi,

I have found the cause. The heading and altitude were switched when loaded. So of course the altitude was outside of the range specified for the heading. It will be fixed in the next build.
 
Hi,

I have found the cause. The heading and altitude were switched when loaded. So of course the altitude was outside of the range specified for the heading. It will be fixed in the next build.

That makes sense. My latest airport is 1934.87m AMSL so it's way over the 360 degree limit most airports would be in terms of altitude. Hence why the problem came up for me.

Thanks for looking into this for me! I do have a work around which allows me to load the GP layers without having to enter them manually each time.
 
Back
Top