Simple addon template :
import bpy
bl_info = {
"name": "test",
"author": "me",
"version": (1, 0),
"blender" : (2, 80, 0),
"location": "",
"warning": "",
"wiki_url": "",
"tracker_url": "",
"category": ""
}
class OBJECT_OT_CustomOp(bpy.types.Operator):
"""Tooltip"""
bl_idname = "object.test"
bl_label = "test"
def execute(self, context):
None
return {'FINISHED'}
addon_keymaps = []
def register():
bpy.utils.register_class(OBJECT_OT_CustomOp)
def unregister():
bpy.utils.unregister_class(OBJECT_OT_CustomOp)
if __name__ == "__main__":
register()
My question is about that class name (-> OBECT_OT_CustomOp). I just want to know : Whatever name it is , can i really re-use it for other customop/addon ? since i've tried to use that same class name for different op and it doesn't conflict. Everything works fine, because that customop is unregistered when i exit the tool ? But will it break at some point ?