Issue:
We are trying to get our templates setup for our needs but now I’m having issues getting the roof tool to work correctly. I added the ITW line types from your template but it’s still not working. What else is required to be in the template for the roof tool to work? I’ve attached the error report from the VisionREZ tool. Please help!
This is what the message said.
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at zjI=.NTQ=.OjQ=(Document doc, ICollection`1 inIds, Ge2dSegments& outSegs, List`1& outFlips, String& message, List`1& slopes, List`1& texts, Ge2dPoints& gaps, List`1& unsolvedLoops, List`1& popups) at ITWBCG.ITWBRexRoof.CmdRoofConvert.uBg=(CTM= cmd, String& message) at ITWBCG.ITWBRexRoof.CmdRoofConvert.Execute(ExternalCommandData commandData, String& message, ElementSet elements)
Solution:
It worked when we used your template but since we have our new template we’re running into issues. What else does the roof tool need besides the footprint line type? Consider;
- What view are you working in? first floor plan view
- What exact steps did you take to get to this issue? Selected exterior walls, clicked create roof and then hid the walls and cleaned up the footprint lines and tried to finish.
- What specific walls are you trying to select to generate the roof? Exterior walls
- Since there is already a roof in the model; are you trying to replicate it? We ended up creating that roof manually with the default Revit tool.
Bottom line, there is a bunch of stuff in the model view that appears to throw the roof command off.
- The first thing found was the foundation walls were on, so it generated an error of double wall height. We modified the view range so the foundation walls were not on.
- Secondly, there were core and exterior finish walls, which is how we draw stuff, but we turn the EF walls off when we generate roofs.
We tried to create a roof selecting all client exterior walls, including the EF walls, but it creates a double ITWB Roof Footprint around most of the house perimeter. Customer EF walls have a structural component, which may be the cause of that.
The solution was to turn off the EF Walls, which we do through a view filter. We create the roof by manually selecting each exterior wall, then using line work to include the rear porch boundary.