Create custom shelf button for quick adjusting what to show in panel.
Everytime i start a new shot i always have to adjust the stuff i want to show in all 4 panels. Panel number 11,12,13 with one setting and 14 with another settings.
The script for the 1st settings for panel 11 are:
modelEditor -e -allObjects 0 modelPanel1;
modelEditor -e -nurbsCurves true modelPanel1;
modelEditor -e -nurbsSurfaces true modelPanel1;
modelEditor -e -polymeshes true modelPanel1;
modelEditor -e -lights true modelPanel1;
modelEditor -e -cameras true modelPanel1;
modelEditor -e -locators true modelPanel1;
modelEditor -e -strokes true modelPanel1;
modelEditor -e -motionTrails true modelPanel1;
modelEditor -e -greasePencils true modelPanel1;
modelEditor -e -manipulators true modelPanel1;
modelEditor -e -hud true modelPanel1;
modelEditor -e -sel true modelPanel1;
modelEditor -e -grid false modelPanel1;
The 1st line is for "show None" function to clear all the ticks. Follow by whatever i want, with the respective panel number. For Panel number 14 which is my "Shot Cam" camera view, i only needed a few functions.
Just added
Also added in this script to enable select only "curves":
setObjectPickMask "All" 0;
setObjectPickMask "Curve" true;
I really like that there is a "Double Click" function. I can have a different setting simply by double clicking the same button.
After this is done just save the button then it is done!
No comments:
Post a Comment