Skip to content

Instantly share code, notes, and snippets.

@enzyme69
Created March 24, 2013 00:20
Show Gist options
  • Save enzyme69/5229868 to your computer and use it in GitHub Desktop.
Save enzyme69/5229868 to your computer and use it in GitHub Desktop.
BLENDER / LIST THE NAMES OF SELECTED OBJECTS
# NORMAL STYLE
import bpy
selected_objects = bpy.context.selected_objects
obNameList = []
for item in selected_objects:
obNameList.append(item.name) #append each name into list
print(obNameList)
@TheHeurist
Copy link

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment