Its not much job but its annoying to evey time hide the joint visibility by going to show > and toggle joints.
I was wondering if there is any way to do this using hotkey or a custom script from the shelf .
Solved! Go to Solution.
Solved by mspeer. Go to Solution.
Hi!
Use "Echo all Commands" in Script Editor to see the right command and assign this to a hotkey with Hotkey Editor.
But the show command of the Viewport will only work for one specific window/Viewport.
You may better use (MEL):
hideShow -joints -hide;
hideShow -joints -show;
Thanks for this. Any wonder why such a basic function is not easily accessible.
Curious what your solution would be to just toggle visibility for all kinematics?
Trying to keep the viewport window uncluttered is becoming more of a task these days.
Thank you again.
pan =cmds.getPanel( type='modelPanel') #gets all panels
if (cmds.modelEditor( pan[-1], q=1, j=1)): # using Echo commands on u can find number of your panel
cmds.modelEditor(pan[-1], e=1, j=0)
else:
cmds.modelEditor(pan[-1],e=1, j=1)
Here is python v if needed
Alternatively to scripting methods, you can use the hotkey editor to search "View Joints TGL" and assign it to whatever input you want, personally use alt 3, since alt 1 toggles curves vis and alt 2 toggles geo vis. Remember to save a hotkey set so it is there next time you open maya
Can't find what you're looking for? Ask the community or share your knowledge.