How do I run a check to see if an object exists in python?
Mighty_Cow (Mighty_Cow) #1
CoDEmanX (CoDEmanX) #2
like to check for an object by name?
if bpy.data.objects.get("ObjectName") is not None: print("found object")
Mighty_Cow (Mighty_Cow) #3
Thanks Very much!
Richcolburn (Richcolburn) #4
found = 'ObjectName' in bpy.data.objects