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…