I just tried this script:
"
AddAttribute|FTYPE="POLYGON" And building="*"|Integer;BUILDTYPE|5
AddAttribute|FTYPE="POLYGON" And building="*" And BUILDTYPE=5 And FAREARAT>0.80|Integer;BUILDTYPE|1
AddAttribute|FTYPE="POLYGON" And building="*" And BUILDTYPE=5 And FNUMVERT<10 And FNUMPERPANG>3 And FNUMNOTPAR<2|Integer;BUILDTYPE|3
AddAttribute|FTYPE="POLYGON" And building="*" And BUILDTYPE=5 And FCONVEX=1|Integer;BUILDTYPE|4
#
# Remove complex buildings
ReplacePolygonByBuildingRectangles|BUILDTYPE=3|0.8;4;4|0.25;2.0;0.5|Integer;BUILDTYPE|2
#
# Create buildings autogen
CreateAGNGenBuild|building="*" And FWIDTH<20|{5ae04eb6-934c-4f63-bb48-5e7dee601212}|MAXRATIO=2
CreateAGNGenBuild|building="*" And FWIDTH>20|{6089A0BD-CED1-4c47-9A9E-64CDD0E16983}
An unexpected error occured during running your configuration
"
Given here:
Hey guys, I have added support for Ortho4XP for fsx/p3d, and have recently added integration with ScenProc to add autogen to the generated scenery (https://github.com/stackTom/Ortho4XP_FSX_P3D). The scenproc integration is still in beta (available under the ScenProc branch of my repository), and...
www.fsdeveloper.com
And get this error:
Error:
Index was outside the bounds of the array.
A much smaller area gives the same error:
12:25 SceneryProcessor Error System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ASToFra.scenProc.Steps.SplitGrid.Process(List`1 cells, String[] arguments)
at ASToFra.scenProc.Processor.SceneryProcessor.Process()
at ASToFra.scenProc.Processor.SceneryProcessor.ProcessConfig(String filename, List`1 commands)