Hello,
while using my revit 2018 plugin with a large model, revit crash at the end of execution
the plugin create templates and many viewplan, 3dview, and textnotes, filledregions on them
at end of execution, (after 8 hours with this model), a control process verify each created viewplan (for example, verify if textnotes are accessible in viewplan while using scopebox)
during this control, revit crash with an error (log extraction)
' 5:< ;PERF;MISC;FullUpdateGraphicCacheUpdater::updateAll() DBViewPlan id=31766357: 497 elements need cache update
' 2.799139 5:<<updateGReps 2528 elements/ALL_GAPS 2.299871/TurnOff_GAPs 57%
' 2.808059 4:<<B3.1.000-2.XX B3_CARPARK 1 (HELIX RAMP)-23015579: ;PERF;MISC;generating greps
' 1:< ;PERF;MISC;FullUpdateGraphicCacheUpdater::updateAll() DBViewPlan id=31766357 (in RvtLinkInstance id=22961020): 497 elements need cache update
' 1:< ;PERF;MISC;FullUpdateGraphicCacheUpdater::updateAll() DBViewPlan id=23015579: 897 elements need cache update
' 5:< A MemoryException is raised on line 196 of Arr.cpp
' 5:< System exception in generateViewSpecificGRep
' 5:< for element 23007029 of class ModelClipBox
' 5:< in dbview 23015925 of class DBViewPlan
' 5:< System exception in generateViewSpecificGRep
' 5:< for element 23007029 of class ModelClipBox
' 5:< in dbview 23015925 of class DBViewPlan
' 5:< TaskDialog "A serious error has occurred. It is strongly recommended that you save your work in a new file before continuing.
while executing an instruction like
filteredElementCollector = new filteredElementCollector(document, viewId)
.OfCategory(BuiltInCategory.OST_DetailComponents)
.WhereElementIsNotElementType();
so,
is it a revit bug, or is it another problem ?
can you help me ?
thanks in advance
Luc
attached is the full log file