In 2015 the position of menu from AddMenu is different from one in 2014 and previous version.
I found SPR#221794 "Menu from AddMenu changes position", and it is reported that it was fixed in 2015PR1.
I think it is same as matter of title but it seems not to be fixed in 2015sp0, sp1.1 and sp2.0.
Does anyone know about this issue?
And does anyone know an API function instead of "AddMenu"?
SolidworksApi macros
Hello,
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
Good luck
Josemi
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.
According to Solidworks2015 release nots ,it is by changes of specification.
I missed it.