Unrecoverable error when pasting into certain project (Revit 2019.2.1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good morning, Ladies and Gentlemen!
We made Revit template based on the Russian ADSK Community template.
Some shared parameters were renamed with a constant GUID.
Then we have made library - a file where elements for architecture and construction (both system and components) are placed. We have made this library file from the early version of this our template or without a template at all (unfortunately I already cannot remember it).
After that we mantained, added, renamed something, loaded new versions of families to the library file and to the template.
To rename some shared parameters we changed their names in .txt files, then selected by ID existing parameters in the project, deleted and then added correctly named shared parameters again.
Maybe sometimes a new type was created and renamed or a family was renamed and it was done in both files manually and not by editing once and loading into another project...
As a result, when we try to Ctrl+C Ctrl+V any loadable component family from the library file to the project based on the template we get the window "A serious error has occurred. The current action has been cancelled. It is strongly recommended that you save your work in a new file before continuing. Would you like to save recovery file?"
After that, it's either Revit crash with a report or we can just continue working as if nothing had happened.
If you click 'Edit family', go into it and then load it into template, it works excellent.
Copy-Pasting from other files into template works excellent.
Copy-Pasting from the library file into another files created from another templates works excellent.
Copy-Pasting from the library to the template in Revit 2020 works as well.
This issue occures only in Revit 2019 (many machines with 2019.2.1, haven't tested other versions of 2019).
What we've tried to do:
1. Opened with audit both files numerous times.
2. Transfer all the library elements to the new file created without any template by copypaste.
3. Create with Dynamo list of ALL shared parameters in each file (getting ID's with Dynamo), not only project parameters but incluging those brought from loaded families. Then look for duplicating names with different GUID's or with different parameter group or unit type. Delete all found suspicious shared parameters.
4. Delete ALL shared parameters from both files.
5. Transfer Project standards (all) from tle library to the template.
6. Transfer Project standards (all) to the library from the template.
7. Save all families from the library into a folder and track errors while saving. Got message like
"Couldn't save file location\familyname.rfa" about 50 times about different families from 2D annotative to 3D windows. Gave up.
Nothing has changed.
There is the part of Revit journal related to the issue:
(sorry, don't know how to minimize/hide the text under spoiler, much text ahead)
<<End build CT>>
'E 04-Mar-2020 11:07:18.015; 0:<
Jrn.MouseMove 0 , 409 , 332
'E 04-Mar-2020 11:07:18.015; 0:<
Jrn.Key 8 , "VK_CONTROL" , 29
'E 04-Mar-2020 11:07:18.158; 0:<
Jrn.Command "AccelKey" , " , ID_EDIT_PASTE_NO_EVENT"
' 0:< Unnecessary nesting;ArrowUI_4;-1;ID_EDIT_PASTE_NO_EVENT ;N++EB(NB);
'E 04-Mar-2020 11:07:18.184; 0:<
Jrn.MouseMove 8 , 409 , 332
' 3:< ::97:: Delta VM: Avail +17 -> 134209494 MB, Used +5 -> 1547 MB; RAM: Avail +2 -> 6686 MB, Used +6 -> 1582 MB
' 3:< GUI Resource Usage GDI: Avail 9066, Used 934, User: Used 551
' 3:< DBG_INFO: Bad argument: preTouch was called with wrong pElemPtr [10537]: line 293 of d:\ship\2019_px64\source\revit\revitdb\undo\UndoMgrInterface.cpp.
' 3:< DBG_WARN: Mismatched shared parameter definitions! GUID='6904674a-7b13-4764-88e7-fc1865f86a62' Existing parameter: Name='Floor Thickness' ParamType='Length' New parameter: Name='Пол_толщина' ParamType='Length': line 187 of Parameters\ExternalParamUtils.cpp.
'C 04-Mar-2020 11:07:18.535; 3:< ADialog::doModal start
' 3:< ::97:: Delta VM: Avail +20 -> 134209514 MB, Used -9 -> 1538 MB; RAM: Avail -11 -> 6675 MB, Used +7 -> 1590 MB, Peak +11 -> 1595 MB
' 3:< GUI Resource Usage GDI: Avail 9063, Used 937, User: Used 554
'E 04-Mar-2020 11:07:19.640; 3:<
Jrn.PushButton "Modal , Duplicate Types , Dialog_Revit_PasteSimilarSymbolsPaste" _
, "OK, IDOK"
'C 04-Mar-2020 11:07:19.666; 3:< ADialog::doModal stop
' 1.145889 3:<<*** CP: ElementCutting::pasteInto: matching
' 2:< DBG_ERROR: Element Family doesn't handle corruption of container m_big2SmallMap2. Need to override PasteHelper::shouldRebuildCorruptedContainerImpl: line 630 of d:\ship\2019_px64\source\revit\revitdb\copypaste\PasteHelper.cpp.
' 2:< CorruptionOnRemapping: shouldRebuildCorruptedContainer: Element:Family, id:1440539, container:m_big2SmallMap2, shouldRebuild:0, callback:0
' 2:< ::98:: Delta VM: Avail -11 -> 134209504 MB, Used -6 -> 1532 MB; RAM: Avail -20 -> 6656 MB, Used +15 -> 1606 MB, Peak +22 -> 1617 MB
' 2:< GUI Resource Usage GDI: Avail 9078, Used 922, User: Used 548
' 2:< DBG_WARN: Container m_big2SmallMap2 was found to contain duplicate entries!
'
'Expect a soft crash after this warning.
'
'ApplicationException is being thrown on behalf of the function <void __cdecl SpecificFieldTypeVisitor::popContainer(void)>. Dump file: C:\Users\ShirmanovEgo\AppData\Local\Autodesk\Revit\Autodesk Revit 2019\Journals\journal.0540.0001.dmp: line 86 of SpecificFieldTypeVisitor.cpp.
' 2.861762!!!! 3:!!!BIG_GAP ** CP: ElementCutting::pasteInto: non-nested part
' 4.013347=== 2:<<** CP: ElementCutting::pasteInto: non-nested part
' 0:< ::98:: Delta VM: Avail -17 -> 134209488 MB, Used +0 -> 1533 MB; RAM: Avail 6656 MB, Used 1606 MB
' 0:< GUI Resource Usage GDI: Avail 9072, Used 928, User: Used 549
' 4.525084== 1:<<* CP: ElementCutting::pasteInto/ALL_GAPS 0.511737/Threshold_GAPs 19%
' 0:< TaskDialog "A serious error has occurred. The current action has been cancelled. It is strongly recommended that you save your work in a new file before continuing.
'
'Would you like to save a recovery file?"
'CommonButtons : Yes, No
Element:Family, id:1440539 cannot be selected by ID because pasting is cancelled before finishing, so element with this ID don't appear in the project.
I have an idea to carefully transfer everything in a new template created from a blank file. But this will take a long time.
Still have to use 2019 version, so moving to a new version is not the solution.
Do you have any ideas how to deal with it? 🙂