Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hide Hypershade Panel or toggle

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
tjdrbrla
382 Views, 2 Replies

Hide Hypershade Panel or toggle

I searched for commands to turn on and off Hypershade, and everyone uses commands to turn off windows through Delete Ui, and I want to know which commands to hide and turn on panels through the Collapse tab group. tab group. Do you know anyone? (I would appreciate it if you could tell me the commands in UV Editor.) I used Script Editor - Echo all Commands, but I didn't recognize the Collapse tab group command.

1.png

2 REPLIES 2
Message 2 of 3
loncy888
in reply to: tjdrbrla

Executing this code expands/collapses the hyperShade workspace control, note that this needs to be in maya2017 or later.

if (`workspaceControl -ex hyperShadePanel1Window` &&
	!`workspaceControl -q -fl hyperShadePanel1Window`) {
	int $collapse = `workspaceControl -q -clp hyperShadePanel1Window`;
	workspaceControl -e -clp (!$collapse) hyperShadePanel1Window;
}
loncy
Message 3 of 3
tjdrbrla
in reply to: tjdrbrla

Thank you!! I've been looking for it for a long time, but thanks to you, I solved the problem that I couldn't solve. Thank you so much!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report