Purge
-
There is a RemoveMaterials at http://www.smustard.com/script/RemoveMaterials that will remove all materials in use in the model. I suspect there is a collapse everything to layer0 script around somewhere too - maybe on Didier's site. I don't remember seeing a script for removing all styles though. I wrote a PurgeManager back during the V6 beta, but never released it. It uses WebDialogs, has buttons, gives you a before and after image of the counts (before and after purge), and is generally pretty neat. But, I then went on to add the File Size specification, and ran into cross platform issues that turned into bug reports and feature requests, and there it sits - never released.
Todd
-
Boo, what am I missing (again :`) I use the "purge unused" in the statistics section of the model info menu...?
-
Thanks Todd, that is what I was searching for. I will try to find the collapse to layer 0 you mentioned.
Tom, I was looking for a Purge Used script, not Unused
And the PurgeAll script that TIG attached will purge all unused components, layers, materials, and styles then generate a report. I guess the only difference between the purge unused in the statisitcs and the script is the generated report, correct me guys if I am wrong. -
Oops...in the wrong forum for skimming, sorry.
-
Is there something similar to RemoveMaterials, which would also delete the materials from the paint bucket (in model- pull down menu)?
-
@unknownuser said:
Thanks Todd, that is what I was searching for. I will try to find the collapse to layer 0 you mentioned.
Tom, I was looking for a Purge Used script, not Unused
And the PurgeAll script that TIG attached will purge all unused components, layers, materials, and styles then generate a report. I guess the only difference between the purge unused in the statisitcs and the script is the generated report, correct me guys if I am wrong.My Purge All script lets you choose NOT to purge some types e.g. Layers can be left alone whilst everything else is cleaned up...
-
@miikka1978 said:
Is there something similar to RemoveMaterials, which would also delete the materials from the paint bucket (in model- pull down menu)?
My Purge All could be used (cannibalised) to purge unused materials after they are no longer used when RemoveMaterials has been run...
-
This is a 'Default All Layers' (in selection) script that I've just cobbled together. Please try and report back...
-
TIG, that is great. Works like a charm. Just run it, then run purgeall and poof.
Thanks.
-
@unknownuser said:
TIG, that is great. Works like a charm. Just run it, then run purgeall and poof.
Thanks.
At least that works ! Now for Roof.rb glitches. Perhaps you should all go to church and retry it ?
Advertisement