This is a short simple script that will iterate through a skeleton and set all joints to visible. This is particularly useful if you are using the ART rig by Epic.
- #This sets all joints in a hierarchy to visible
- def setAllJointsVisible():
- jointSelection = cmds.ls(selection = True)
- selectionList = cmds.listRelatives(jointSelection, allDescendents = True, type = 'joint')
- for eachJoint in selectionList:
- cmds.setAttr(str(eachJoint) + '.visibility' , True)