try to run that cmd in cmd line or script editor [in mel]: source MTprocs;
MTsetToggleMenuItem; if it worked, and you don't want do that every time, add this cmd in userSetup,mel/py* (at any line), and at next launch that issue should be solved but, If not, modify it like that:…
Hey, I had the same problem, code work but the problem was recursive, even with code in userSetup.py/mel. I manage to fix it permanently by reloading the pluggin manually in maya, in the pluggin manager, by clicking browse and selecting modelingtoolkit.mll. Thanks for helping
Hey thanks you so much * source MTprocs; * MTsetToggleMenuItem; worked I'll just put that in every time when I need the kit. I don't understand the whole code thing yet to good.