I know polyhertz has provided the best solution... I found an interesting solution while trying to force another part of a modifier ui to update (when pressing a toolbar button) ( CurrentMod = modpanel.getCurrentObject() theModifier_ID = modPanel.getModifierIndex $ CurrentMod ($.modifiers[theModifier_ID].enabled = NOT…
You have to set the selected modifier again for the icon to refresh. Here's some simple changes to fix the icon issue and prevent some potential errors: if classof subobjectlevel != Integer do setCommandPanelTaskMode #modifytheObjs = selection as arrayif theObjs.count > 0 do ( CurrentMod = modpanel.getCurrentObject() if…
I have a maxscript bound to a hotkey that lets me toggle the visibility of my currently selected modifier in the stack...but it won't update the eyeball icon unless I interact with the command panel in some way. I did find this little snippet: colorMan.reinitIcons() that does the job, except it also automatically reselects…