- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I have a problem which seems complicated to me, hope you can help 🙂
My goal is to create some views by duplicating existing views (using view.Duplicate()).
After creating the views I'm showing a 'report' window so that the user will know what happened.
This is all wrapped in an external event because it's being called from a UI I made.
Everything works fine, it's just that the report comes up before the views are finished being created. From what it seems, view.Duplicate returns the new ElementId immediately and only then creating the view..
So my first method that creates the views "Finishes" and then my report comes up. Although it came up - Revit is still busy creating my views.
It's important to me that the report will only be displayed after the views are done being created, because right now the users are getting a report with a still "frozen busy" Revit and have to wait for Revit to really end.
Thanks in advance!
Solved! Go to Solution.