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.
Solved! Go to Solution.
Solved by loncy888. Go to Solution.
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;
}
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.