Created
January 22, 2023 06:04
-
-
Save don1138/2ac499860949795b99af2c831c91c5e7 to your computer and use it in GitHub Desktop.
Blender - Print the contents of a .blend file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
print("# IMAGES") | |
for i in bpy.data.images: | |
print(i.name) | |
print("") | |
print("# COLLECTIONS") | |
for i in bpy.data.collections: | |
print(i.name) | |
print("") | |
print("# MATERIALS") | |
for i in bpy.data.materials: | |
print(i.name) | |
print("") | |
print("# NODE GROUPS") | |
for i in bpy.data.node_groups: | |
print(i.name) | |
print("") | |
print("# OBJECTS") | |
for i in bpy.data.objects: | |
print(i.name) | |
print("") | |
print("# WORLDS") | |
for i in bpy.data.worlds: | |
print(i.name) | |
print("") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment