Nice one, had something similar to whack armatures and actions when testing bvh addon, had a save then revert. Led to some whoops moments when I ran the wrong script.
A tip on the collections type
bpy_collections = [k.identifier
for k in bpy.data.bl_rna.properties
if k.type == 'COLLECTION']
will give you a list of [“objects”, “meshes”,…] etc.
Hi there, Is it compatible with 2.78?
I got some errors when I launch the script from text editor.
Is it supposed to be added trough zip?
Thank you for your work.
Absolutely amazing addon appearing in Tools Misc tab once it is enabled. I installed it as raw py file. Works with Blender 2.79, so I am happy to get rid off unused stuff.
Cleaning a blender file i tedious. Cleaning a blend file from linked stuff is more tedious even. The amount of none used items which keeps stored is ridiculous.
Keep in where those image are used. There certain orders which are best to delete none used items. For instance, if there are a lot textures used in materials, those textures will not get deleted unless the materials are deleted which are using them. Sometimes it helps going into outliner panel>datablocks (select it from dropdown menu). Here you can find everything in the file.
PS i also think missing links are not to be deleted. That would be very wrong if they did. IF you want to restore the link try the amaranth tool, this will show you all the missing objects, files etc etc which are missing. Very easy to relink them.
Also what is the image for? is it a backdrop image?
weird, cause oprhan slayer should take that away. But i think cause it linked to something it could delete it. In the data-block tab at the bottom you also see orphan files.
Yo, is there and update for 2020 and 2.82 0 2.9 ? Or a similar addon - I know I can remove this manually, but this is the first script I ran into that can delete it…
…anyway, I wouldn’t mind an update