SortHierarchy is a script designed to sort and organize objects within a specific scene or collection based on various criteria.
The criteria include:
- π· Object Type (Mesh, Light, Camera, Armature, etc.)
- π¨ Material
- π Distance from the Camera
This script can be easily used by running the provided Python code in the "Scripting" section of Blender. After that, simply navigate to the "Object" section in the 3D viewport and click on "Sort Objects".
