When I have a script let’s say I’m opening up a new 3D window I want to wait till revit finishes the opening of new view, then collect elements from there.
This is not the case right now. Script finishes and dynamo is rushing to next task. As a result I’m having the current view from the view I have opened my 3d window.
Any way to wait till revit finishes and get the active