Delete ALL Sheets not in Drawing Index

This compares the Drawing Index (Schedule) with all sheets, including placeholders, and deletes sheets not found in the Drawing Index. The only items that may need changing are the Drawing Index name, and the column index that is used for the sheet number. You will need the BimorphNodes package.

Tool - Delete ALL Sheets not in Drawing Index.dyn (24.2 KB)

The one thing I would change about this workflow is to use the delete node from Springs since it requires a true bool to run. Not having that ability makes me a little scared at times. But, awesome workflow!

1 Like

Thanks @patrick_podeyn
I’ve updated it with your suggestion. Seems to work just fine after a few trials.
Now BimorphNodes and spring nodes packages are required.

Tool - Delete ALL Sheets not in Drawing Index v2.dyn (30.4 KB)

One more suggestion: Change the Categories selection to a combination of a String and Category.ByName. This helps insulate the script from version updates in Revit (like when Revit 2019 introduced a whole slew of new categories).

2 Likes

Thanks @Robert_Younger
New update…(first two nodes replaced Category node)

Tool - Delete ALL Sheets not in Drawing Index v3.dyn (31.8 KB)

Patrick kindly grouped the script and added custom node names to clarify workflow logic.
Now it’s perfect! :slight_smile:

Tool - Delete ALL Sheets not in Drawing Index v4.dyn (35.5 KB)

2 Likes