Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
Comentario
Anonymous

It would be great to get API access to the purge utility.

 

For example, a way to build a set of Purge settings and then a method to invoke the Purge command with said settings (equivalent to selections & settings in the UI version).

 

PurgeAPI.PNG

 

As seen in the many threads on the subject, it's a recurring issue that keeps re-surfacing. Several user-made versions are published on the internet, including great contributions by HarryM and JeremyT, but most are not as complete and feature-rich as the UI version provided in Revit.

 

Example precedents :

http://forums.autodesk.com/t5/revit-api-forum/purge-unused-via-the-api/m-p/6431564#M17279

http://thebuildingcoder.typepad.com/blog/2013/03/determining-purgeable-elements.html