def channelbox_command_mute(box, menuItem, key, *args): with sysCmd.Undo(): cmds.channelBox(box.channelbox, e=1, exe=("mute \"#P.#A\";", 1))