We need to create a workflow that allow us upgrade the legends in different models, so we transfer the correct legends from a main model with pyrevit plugin. this plugin override the name of the legend and add (Duplicate 1). So, when the old legend and the new legend in the same model, we run this routine:
Apparently, the routine run without errors, but when we check the model, the routine havent added the elements to de destiny view from the source view, and have created a duplicate legend… I have reading topics similar to this but in anyone I saw that people experimented issues with duplicated views.
We cant duplicate the legends because the main goal is override the elements of the old legend, that is placed in all the sheets.
Any idea to make work this routine or other way to approach the workflow?
Thanks in advance!