I'd like to access all linked data blocks and remove them from scene using python, without deleting the actual data from my hard drive.
Context: I linked a grouped armature to my scene, made it a proxy so I could manipulate it. I later decided to delete the armature by selecting everything (hotkey: "A" ) and deleting. I'd like to know how to clean up such a mess. As you can see the Current scene view shows nothing is there.
However the data blocks still has everything in there.
Is there a way to access all Linked data blocks through python and unlinking them ?