If the selected one is a mesh, it will be printed as "this is mesh"
import bpy selectList = bpy.context.selected_objects if selectList[0].type == "MESH": print("this is mesh") else: print("this isn't mesh")
Personal notes
Recommended Posts