I'm trying to make some selection shelf buttons, specifically for selecting limbs, or fingers or the like... by clicking on a control object and have the active selection extend to include the hierarchy. e.g. clicking on the wrist might select metacarpals and all the fingers. clicking on the knuckle would select the…
The way MEL/Python works. When you specified the name of the object to be selected, it WILL select it regardless of visibily. What you can do is use the name to check for visibility before doing the selection. I'm gonna use joint1 as example here with Python. from maya import cmdsitem = 'joint1'if cmds.getAttr(item +…