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
ive searched deeper, in my case, toolkit is good, but ui is little laggy, so all is needed is to set that UI button to active, its just disabled somehow... maybe by default button is created disabled... or maya somehwere in internalVars saved that last turend off state cmd that just makes that button clickable [mel]:…