Regen views_closing worksets not affecting existing views!

Hi Community,
We have recently noted that when we link in a Container File a Revit Link(Arch) with another Link(Str) as an attachment in a specific Workset_Structure.
If we create the same workset in the Container File and we close it, the Structural Link as an attachment in the Architectural Link get closed on new views (ONLY!).
For this modification affect views created before the workset change we need to close the Container File and Open!
Do you know if there is any method in the Revit API to regen the views???
Has anyone come across this???

Hi @BIMadmin …think archilab have a node he call document regenerate never tried it but give it a take and see if it could work,

Thanks Sovitek,
Tried but does update the Workset.

We have found out that if we enable temporary workset display settings it regens the view from that point on!
is this a glitch? any method to programatically do this?

What if you try reloading the Link(Str) after you make the changes?

1 Like