I just started developing an exporter for blender because I need some specific file format. I have a basic script I use to load the addon which looks like this:
My problem is that everytime I execute my load script, it adds a new entry to the export menu. It never removes the old one. I can’t seem to find any explenation on how I can remove this menu entry.
F8 is indeed the best way to go, I see. I was wondering, since everything in blender has a python call, is there no python method to execute the ReloadScripts from code?
That doesn’t work because the script is not loaded as an actual addon. As I mentioned in my first post, I use a script that loads it manually. Calling bpy.ops.wm.addon_refersh() doesn’t remove the menu item.