Failed Model-Converted Living Space Boundaries

asked 2023-01-24 15:51:50 -0500

muhl's avatar

updated 2023-01-26 09:53:54 -0500

I received the following message when building a model. I dragged a Finished Attic over a previous Living Space in the GUI to trigger this result. Model included here. I repeated the error, but the second time by extending the 1st floor living space, rather than converting the space type.

Message:
The following application error has occurred in BEopt v3.0.0.0.  Please report this to the BEopt development team and restart the application.

Destination array was not long enough. Check destIndex and length, and the array's lower bounds.

Stack Trace:
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Array destinationArray, Int32 length)
at NREL.BEopt.ObjLibVB.DrawingGeometry.RenderObject_WallCutOffAtLevelHeight(Surface& WallSurface, Single& LevelHeight) in C:\git\beopt\Source\BEoptObjLibVB\Rendering\dwgGeo_Render.vb:line 4513
at NREL.BEopt.ObjLibVB.DrawingGeometry.RenderObject_RoofCutOffAtticWalls() in C:\git\beopt\Source\BEoptObjLibVB\Rendering\dwgGeo_Render.vb:line 4428
at NREL.BEopt.ObjLibVB.DrawingGeometry.RenderObject_Create(Boolean RenderObject, Boolean UpdateVisibleCategories) in C:\git\beopt\Source\BEoptObjLibVB\Rendering\dwgGeo_Render.vb:line 68
at NREL.BEopt.BEoptUIVB.Drawing.Draw() in C:\git\beopt\Source\BEopt\Drawing\Drawing.vb:line 214
at NREL.BEopt.BEoptUIVB.Drawing.OnMouseUp(MouseEventArgs e) in 
 C:\git\beopt\Source\BEopt\Drawing\Drawing.vb:line 199

Thanks

edit retag flag offensive close merge delete

Comments

I am not able to reproduce the error if I open your project file and extend the 1st floor living space. Any idea on how to reproduce the error?

shorowit's avatar shorowit  ( 2023-01-25 11:25:06 -0500 )edit

Were you also not able to reproduce the error when converting attic space to finished ceiling?

muhl's avatar muhl  ( 2023-01-27 08:58:00 -0500 )edit

Unfortunately not. Can you reproduce it if you open a new instance of BEopt and load the project?

shorowit's avatar shorowit  ( 2023-01-27 09:36:11 -0500 )edit