def register(): bpy.types.INFO_MT_file_export.append(menu_func) from bpy.utils import register_class for cls in classes: register_class(cls)