def operator_exists(idname): try: from bpy.ops import op_as_string op_as_string(idname) return True except: return False
def operator_exists(idname): '''simple function that returns if an operator exists thanks people on blenderartists''' try: op_as_string(idname) return True except: return False
def operator_exists(idname): try: op_as_string(idname) return True except: return False