There is a bug in the HIK system and the result is that the skeleton visibility button fails to display the joints any longer. Here is a script that will turn them back on. Note that it doesn’t fix the bug, it just allows you to see your joints again.
- import maya.cmds as cmds
- skeletonRoot = cmds.ls(selection = True)
- skeletonList = cmds.listRelatives(skeletonRoot, allDescendents = True, type = 'joint')
- for eachJoint in skeletonList:
- cmds.setAttr(str(eachJoint) + '.drawStyle', 0)