unicornForest
global proc plantForest()
{
if(`window -ex plantForestWindow`) deleteUI plantForestWindow;
window -title "Forest Gallary" -widthHeight 600 100 -sizeable 0 plantForestWindow;
formLayout -numberOfDivisions 100 -h 100 mainForm;
tabLayout -innerMarginWidth 0 -innerMarginHeight 0 -h 360 tabLayMain;
string $form = `formLayout -numberOfDivisions 12 -h 100`; // 分3份
gridLayout -allowEmptyCells true -w 600 -h 330 -numberOfRowsColumns 12 12 -cr 0 -cellWidthHeight 50 60 -ag true -p $form gridLay1;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.001.png" -c "getReferenceTree01();" sb1_1;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.002.png" -c "getReferenceTree02();" sb1_2;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.003.png" -c "getReferenceTree03();" sb1_3;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.004.png" -c "getReferenceTree04();" sb1_4;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.005.png" -ann "Alpha" -c "getReferenceTree05();" sb1_5;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.006.png" -ann "Alpha" -c "getReferenceTree06();" sb1_6;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.007.png" -ann "Red" -c "getReferenceTree07();" sb1_7;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.008.png" -ann "Green" -c "getReferenceTree08();" sb1_8;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.009.png" -ann "Blue" -c "getReferenceTree09();" sb1_9;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.010.png" -ann "Alpha" -c "getReferenceTree10();" sb1_10;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.011.png" -ann "Alpha" -c "getReferenceTree11();" sb1_11;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_01/shu_01_p_.012.png" -ann "Alpha" -c "getReferenceTree12();" sb1_12;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.001.png" -ann "Red" -c "getReferenceTree201();" sb2_1;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.002.png" -ann "Green" -c "getReferenceTree202();" sb2_2;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.003.png" -ann "Blue" -c "getReferenceTree203();" sb2_3;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.004.png" -ann "Alpha" -c "getReferenceTree204();" sb2_4;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.005.png" -ann "Alpha" -c "getReferenceTree205();" sb2_5;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.006.png" -ann "Alpha" -c "getReferenceTree206();" sb2_6;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.007.png" -ann "Red" -c "getReferenceTree207();" sb2_7;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.008.png" -ann "Green" -c "getReferenceTree208();" sb2_8;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.009.png" -ann "Blue" -c "getReferenceTree209();" sb2_9;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.010.png" -ann "Alpha" -c "getReferenceTree210();" sb2_10;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.011.png" -ann "Alpha" -c "getReferenceTree211();" sb2_11;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_02/shu_02_p_.012.png" -ann "Alpha" -c "getReferenceTree212();" sb2_12;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.001.png" -ann "Red" -c "getReferenceTree301();" sb3_1;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.002.png" -ann "Green" -c "getReferenceTree302();" sb3_2;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.003.png" -ann "Blue" -c "getReferenceTree303();" sb3_3;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.004.png" -ann "Alpha" -c "getReferenceTree304();" sb3_4;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.005.png" -ann "Alpha" -c "getReferenceTree305();" sb3_5;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.006.png" -ann "Alpha" -c "getReferenceTree306();" sb3_6;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.007.png" -ann "Red" -c "getReferenceTree307();" sb3_7;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.008.png" -ann "Green" -c "getReferenceTree308();" sb3_8;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.009.png" -ann "Blue" -c "getReferenceTree309();" sb3_9;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.010.png" -ann "Alpha" -c "getReferenceTree310();" sb3_10;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.011.png" -ann "Alpha" -c "getReferenceTree311();" sb3_11;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_04/shu_04_p_.012.png" -ann "Alpha" -c "getReferenceTree312();" sb3_12;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.1.png" -ann "Red" -c "getReferenceTree401();" sb4_1;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.2.png" -ann "Green" -c "getReferenceTree402();" sb4_2;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.3.png" -ann "Blue" -c "getReferenceTree403();" sb4_3;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.4.png" -ann "Alpha" -c "getReferenceTree404();" sb4_4;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.5.png" -ann "Alpha" -c "getReferenceTree405();" sb4_5;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.6.png" -ann "Alpha" -c "getReferenceTree406();" sb4_6;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.7.png" -ann "Red" -c "getReferenceTree407();" sb4_7;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.8.png" -ann "Green" -c "getReferenceTree408();" sb4_8;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.09.png" -ann "Blue" -c "getReferenceTree409();" sb4_9;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.10.png" -ann "Alpha" -c "getReferenceTree410();" sb4_10;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.11.png" -ann "Alpha" -c "getReferenceTree411();" sb4_11;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/shu_07/shu_07_p_.12.png" -ann "Alpha" -c "getReferenceTree412();" sb4_12;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/cao/cao_p_.1.png" -ann "Alpha" -c "getReferenceTree412();" sb4_13;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/cao/cao_p_.2.png" -ann "Alpha" -c "getReferenceTree412();" sb4_14;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/cao/cao_p_.3.png" -ann "Alpha" -c "getReferenceTree412();" sb4_15;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/cao/cao_p_.4.png" -ann "Alpha" -c "getReferenceTree412();" sb4_16;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/cao/cao_p_.5.png" -ann "Alpha" -c "getReferenceTree412();" sb4_17;
symbolButton -w 50 -h 50 -p "gridLay1" -i "Z:/production/unicornForest/production/mel/icons/cao/cao_p_.6.png" -ann "Alpha" -c "getReferenceTree412();" sb4_18;
setParent ..;
string $sep = `separator`;
button -label "previewTexture" -c "changeToPreview();" -width 100 -height 30 -align "center" -bgc 0.8 0.8 0.8 preTexBtn0;
button -label "renderTexture" -c "changeToRender()" -width 100 -height 30 -align "center" -bgc 0.5 1 0.5 renTexBtn0;
button -label "removeReference" -c "removeSceneRef()" -width 100 -height 30 -align "center" -bgc 1 0.5 0.5 rmRefBtn0;
formLayout -edit
// 分隔线
-attachNone $sep "top" // 顶部为默认值
-attachForm $sep "left" 2 // 左边距离表单2个像素
-attachControl $sep "bottom" 4 preTexBtn0// 底部距离"按钮1"4个像素
-attachForm $sep "right" 2 // 右边距离表单2个像素
// 按钮1
-attachNone preTexBtn0 "top" // 顶部为默认值
-attachForm preTexBtn0 "left" 20 // 左边距离表单4个像素
-attachForm preTexBtn0 "bottom" 4 // 底部距离表单4个像素
-attachForm preTexBtn0 "right" 420 // 右边距离表单的1/3处2个像素
// 按钮2
-attachNone renTexBtn0 "top" // 顶部为默认值
-attachForm renTexBtn0 "left" 220 // 左边距离"按钮1"表单4个像素
-attachForm renTexBtn0 "bottom" 4 // 底部距离表单4个像素
-attachForm renTexBtn0 "right" 220 // 右边距离表单的2/3处2个像素
// 按钮3
-attachNone rmRefBtn0 "top" // 顶部为默认值
-attachForm rmRefBtn0 "left" 420 // 左边距离"按钮2"4个像素
-attachForm rmRefBtn0 "bottom" 4 // 底部距离表单4个像素
-attachForm rmRefBtn0 "right" 20 // 右边距离表单4个像素
$form;
setParent..;
tabLayout -edit -tabLabel $form "unicornForest" tabLayMain;
showWindow plantForestWindow;
}
global proc getReferenceTree01()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -namespace "shu_04_p" -options "v=0;p=17" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree02()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0;p=17" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree03()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0;p=17" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree04()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0;p=17" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree05()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0;p=17" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree06()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree07()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree08()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree09()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree10()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree11()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree12()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_01_p.mb";
}
global proc getReferenceTree201()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree202()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree203()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree204()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree206()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree207()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree208()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree209()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree210()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree211()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree212()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_02_p.mb";
}
global proc getReferenceTree301()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree302()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree303()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree304()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree305()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree306()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree307()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree308()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree309()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree310()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree311()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree312()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_04_p.mb";
}
global proc getReferenceTree401()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree402()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -namespace "shu_02_p" -options "v=0;p=17" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree403()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree404()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree405()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree406()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree407()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree408()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree409()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree410()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree411()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc getReferenceTree412()
{
file -r -type "mayaBinary" -gl -loadReferenceDepth "all" -rpr "shu_01_p" -options "v=0" "Z:/production/unicornForest/production/model02/prop/tree_p/shu_07_p.mb";
}
global proc changeToRender()
{
string $sceneSelection[] = `ls -sl`;
string $buffer[];
for($i=0; $i<size($sceneSelection); $i++)
{
$polyTokens = `tokenize $sceneSelection[$i] "/:" $buffer`;
string $cmdAsiRender = "hyperShade -assign " + $buffer[0] + ":tree01_render";
eval($cmdAsiRender);
}
}
global proc changeToPreview()
{
string $sceneSelection[] = `ls -sl`;
string $buffer[];
for($i=0; $i<size($sceneSelection); $i++)
{
$polyTokens = `tokenize $sceneSelection[$i] "/:" $buffer`;
string $cmdAsiPreview = "hyperShade -assign " + $buffer[0] + ":tree01_preview";
eval($cmdAsiPreview);
}
}
global proc removeSceneRef()
{
string $sceneSelection[] = `ls -sl`;
for($i=0; $i<size($sceneSelection); $i++)
{
string $sceneFile = `referenceQuery -filename $sceneSelection[$i]`; //E:/treeClip_test/tree_singleClip.mb{1}
string $refIndex = `referenceQuery -referenceNode $sceneFile`;
file -removeReference -referenceNode $refIndex;
}
}
plantForest;