PDA

View Full Version : customizing maya GUI at scene open



sanfx
05-29-2009, 03:17 AM
Hi i learnt about scriptNode in one of tutorial by DT ,

but it didnt went over it that well, like even through example i learnt string
$nodeName = `scriptNode -st 2 -bs "sphere" -n "script"`;


but i want to customize my maya workspace at the time of start of particular scene since i am not animating or i dont really need maya help bar so i want to hide it,

though how should i make use of below code to hide animation slider, and helpline.

toggleUIComponentVisibility "Time Slider";
toggleUIComponentVisibility "Help Line";


i also dont want maya to unload vector plugin for this scene file..

or either i remember i have passes a script like -command "script name.mel" but here i have -bs to waht i have to pass a parameter so how should i do it...