I have a working script which deletes from the Revit model all views, legends schedules, sheets apart from the splash screen and linked models.
I’m looking to make 2 improvements to the script but I’m not sure where to start.
The purge node needs to loop, can anyone guide the best approach to get this node to repeat until there is nothing left to purge? At the moment I have to manually purge all a couple more times.
The script takes around a minute to run which is a little bit longer than doing these things manually. Is there anything I can do to improve this?
For other things you could join all the lists that go into “element.delete” node and go into one “element.delete” node, then you need a wait node prior to purging unused so it only runs once the “element.delete” node has completed.
If you dont do this the purge unused could run prior to the “element.delete” node and will leave things within the model.
Just because you placed the node to the far right doesnt mean it will run last!!