Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Python for Blender - Prefix all selected objects name with their Blender data type like renaming “SomeModel” to “MESH_SomeModel” or for example
import bpy
objects = bpy.context.selected_objects
for i, o in enumerate(objects): = "{}_{}".format(o.type,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.