How to Purge Unused Materials?
I use Performance Adviser for purging but performance adviser doesn't get unused materials.
Solved! Go to Solution.
How to Purge Unused Materials?
I use Performance Adviser for purging but performance adviser doesn't get unused materials.
Solved! Go to Solution.
Solved by naveen.kumar.t. Go to Solution.
Hi @dhanait_ajay13 ,
Could you please try using the steps mentioned in the below link?
https://boostyourbim.wordpress.com/2016/10/21/purge-unused-materials-for-another-rtceur-api-wish/
Hi @dhanait_ajay13 ,
Could you please try using the steps mentioned in the below link?
https://boostyourbim.wordpress.com/2016/10/21/purge-unused-materials-for-another-rtceur-api-wish/
@naveen.kumar.t Thank you
@naveen.kumar.t Thank you
but unused imported categories still remain exist
but unused imported categories still remain exist
Hi @dhanait_ajay13 ,
Could you please provide some more information?
Can you explain your issue using screenshots?
Hi @dhanait_ajay13 ,
Could you please provide some more information?
Can you explain your issue using screenshots?
not able to detect this imported categories
not able to detect this imported categories
Hi @dhanait_ajay13 ,
Thanks for the screenshots.
Are you able to remove these imported categories in the Revit UI (without using the API) without any problems?
What steps did you follow?
I am checking with the Revit Engineering team for you.
Hi @dhanait_ajay13 ,
Thanks for the screenshots.
Are you able to remove these imported categories in the Revit UI (without using the API) without any problems?
What steps did you follow?
I am checking with the Revit Engineering team for you.
yes i am able to remove these imported categories in the Revit UI (without using the API) without any problems
Simply click on Purge menu button 2-3 times it remove all unuse items
but using API i am not able remove this
yes i am able to remove these imported categories in the Revit UI (without using the API) without any problems
Simply click on Purge menu button 2-3 times it remove all unuse items
but using API i am not able remove this
Hi @dhanait_ajay13 ,
I had a discussion with the Revit Engineering team.
iterate through all categories. skip the built-in ones. pick Top level category with non-negative id. those are the ones you want. call Delete on those. I am not sure, though.
Also, Please take a look at these below links
https://thebuildingcoder.typepad.com/blog/2022/02/purge-unused-and-etransmit-for-da4r.html
https://thebuildingcoder.typepad.com/blog/2022/03/purge-unused-and-the-autodesk-camel.html
Hi @dhanait_ajay13 ,
I had a discussion with the Revit Engineering team.
iterate through all categories. skip the built-in ones. pick Top level category with non-negative id. those are the ones you want. call Delete on those. I am not sure, though.
Also, Please take a look at these below links
https://thebuildingcoder.typepad.com/blog/2022/02/purge-unused-and-etransmit-for-da4r.html
https://thebuildingcoder.typepad.com/blog/2022/03/purge-unused-and-the-autodesk-camel.html
Hi Naveen,
thanks for sharing the link. I was able to use it successfully. However, I did see that it doesn't purge everything material related all at once. Is there a way we can modify that and ensure that it's done in one step?
Hi Naveen,
thanks for sharing the link. I was able to use it successfully. However, I did see that it doesn't purge everything material related all at once. Is there a way we can modify that and ensure that it's done in one step?
Hi @skandregula ,
Sorry, I am not aware of any other ways to achieve this functionality.
Hi @skandregula ,
Sorry, I am not aware of any other ways to achieve this functionality.
Can't find what you're looking for? Ask the community or share your knowledge.