I don't think is a problem of "Addmenu". The position of menú are registred in registry in:
[HKEY_CURRENT_USER\Software\SolidWorks\Solidworks 2015\User Interface\CommandManager\PartContext\Tab12]
[HKEY_CURRENT_USER\Software\SolidWorks\Solidworks 2015\User Interface\Custom API Toolbars\59424]
In my case is "Tab12" but in your case is may be different.
If you remove these keys, SW will rebuild all and you will see all is OK.
Previously, Do a backup of your registry
Hello, thank you for your reply.
I tried to remove registry keys you introduced but the position of added menu is still wrong.
"AddMenu" can be specified the position of menu by arguments.
However, the menu always added under "Tools".
I doubt whether spr#221794 was fixed.