In Part 1 we saw how to purge unused families with the PerformanceAdviser. In this part we'll see how to purge unused materials.
Sunday, 24 October 2021
Purge Unused with the Revit API (Part 1)
In this entry, I will explain how to replicate the Purge Unused command using the Revit API. In the first part, I will explain how to delete all the unused families with the PerformanceAdviser.
Using this class, you cannot purge materials and material assets, so in Part 2, I will show you how to clean them.
You can find the Part 1 code below, along with comments explaining each part. Feel free to leave any questions or suggestions in the comments.
Subscribe to:
Posts (Atom)