How do you delete all views in a Revit model using Dynamo?

10 Likes

After and before deleting all views and purging a big commercial project:

1 Like

Is there a way to purge with Dynamo? I’ve read several blogs that say you cannot.

You can not call the purge command from the API, but you can always create your own. But that is another topic…

Thanks Francisco for the trick, it worked for me. Im actually sending my model to consultants and Id like to delete some and not all views and it save me a lot of time by just selecting them in the schedules (left click + drag), cheers!.

Is “List All Views” a custom node? If so which one? Thanks.

Maybe same as OOTB this: image

2 Likes

This won’t work since Project Browser is a View. You can’t delete Project Browser. You want to be a little bit more selective about what you want to delete.

2 Likes