home *** CD-ROM | disk | FTP | other *** search
/ Learning Maya 3 / Learning_Maya_3.iso / support_files / projectThree / scenes / lesson15_start.ma next >
Encoding:
Text File  |  2000-05-15  |  70.8 KB  |  1,465 lines

  1. //Maya ASCII 3.0 scene
  2. //Name: lesson15_start.ma
  3. //Last modified: Mon, May 15, 2000 09:39:57 PM
  4. file -r -rpr "polyShip" -rfn "polyShipRN" "scenes/polyShip.ma";
  5. file -r -rpr "nurbShip" -rfn "nurbShipRN" "scenes/nurbShip.ma";
  6. requires maya "3.0";
  7. currentUnit -l centimeter -a degree -t ntsc;
  8. createNode transform -s -n "persp";
  9.     setAttr ".v" no;
  10.     setAttr ".t" -type "double3" 15.354792748714255 20.237312593683619 27.856412897462448 ;
  11.     setAttr ".r" -type "double3" -29.738352729608053 31.400000000002041 0 ;
  12. createNode camera -s -n "perspShape" -p "persp";
  13.     setAttr -k off ".v" no;
  14.     setAttr ".rnd" no;
  15.     setAttr ".fl" 34.999999999999993;
  16.     setAttr ".coi" 33.253838260033405;
  17.     setAttr ".imn" -type "string" "persp";
  18.     setAttr ".den" -type "string" "persp_depth";
  19.     setAttr ".man" -type "string" "persp_mask";
  20.     setAttr ".tp" -type "double3" -0.090073727488707678 -2.985482666733263 7.8105547999339198 ;
  21.     setAttr ".hc" -type "string" "viewSet -p %camera";
  22.     setAttr ".ma" no;
  23. createNode transform -s -n "top";
  24.     setAttr ".v" no;
  25.     setAttr ".t" -type "double3" 0 100 0 ;
  26.     setAttr ".r" -type "double3" -89.999999999999986 0 0 ;
  27. createNode camera -s -n "topShape" -p "top";
  28.     setAttr -k off ".v" no;
  29.     setAttr ".rnd" no;
  30.     setAttr ".coi" 100;
  31.     setAttr ".ow" 30;
  32.     setAttr ".imn" -type "string" "top";
  33.     setAttr ".den" -type "string" "top_depth";
  34.     setAttr ".man" -type "string" "top_mask";
  35.     setAttr ".hc" -type "string" "viewSet -t %camera";
  36.     setAttr ".o" yes;
  37. createNode transform -s -n "front";
  38.     setAttr ".v" no;
  39.     setAttr ".t" -type "double3" 0 0 100 ;
  40. createNode camera -s -n "frontShape" -p "front";
  41.     setAttr -k off ".v" no;
  42.     setAttr ".rnd" no;
  43.     setAttr ".coi" 100;
  44.     setAttr ".ow" 30;
  45.     setAttr ".imn" -type "string" "front";
  46.     setAttr ".den" -type "string" "front_depth";
  47.     setAttr ".man" -type "string" "front_mask";
  48.     setAttr ".hc" -type "string" "viewSet -f %camera";
  49.     setAttr ".o" yes;
  50. createNode transform -s -n "side";
  51.     setAttr ".v" no;
  52.     setAttr ".t" -type "double3" 100 0 0 ;
  53.     setAttr ".r" -type "double3" 0 89.999999999999986 0 ;
  54. createNode camera -s -n "sideShape" -p "side";
  55.     setAttr -k off ".v" no;
  56.     setAttr ".rnd" no;
  57.     setAttr ".coi" 100;
  58.     setAttr ".ow" 30;
  59.     setAttr ".imn" -type "string" "side";
  60.     setAttr ".den" -type "string" "side_depth";
  61.     setAttr ".man" -type "string" "side_mask";
  62.     setAttr ".hc" -type "string" "viewSet -s %camera";
  63.     setAttr ".o" yes;
  64. createNode transform -n "curve1";
  65. createNode nurbsCurve -n "curveShape1" -p "curve1";
  66.     setAttr -k off ".v";
  67.     setAttr ".cc" -type "nurbsCurve" 
  68.         3 2 0 no 3
  69.         7 0 0 0 1 2 2 2
  70.         5
  71.         10.872508967155474 0 -10.607036319819235
  72.         9.3818408247367415 0 -4.3925244901445515
  73.         5.3206281279753656 -7.5376979512472193 7.2631384123855112
  74.         -5.4747822522632514 0 10.084076090920322
  75.         -11.412425648344501 0 11.10786455177808
  76.         ;
  77. createNode transform -n "positionMarker5" -p "curveShape1";
  78. createNode positionMarker -n "positionMarkerShape5" -p "positionMarker5";
  79.     setAttr -k off ".v";
  80.     setAttr ".uwo" yes;
  81.     setAttr ".t" 1;
  82. createNode transform -n "positionMarker6" -p "curveShape1";
  83. createNode positionMarker -n "positionMarkerShape6" -p "positionMarker6";
  84.     setAttr -k off ".v";
  85.     setAttr ".uwo" yes;
  86.     setAttr ".lp" -type "double3" 1 0 0 ;
  87.     setAttr ".t" 120;
  88. createNode transform -n "curve2";
  89. createNode nurbsCurve -n "curveShape2" -p "curve2";
  90.     setAttr -k off ".v";
  91.     setAttr ".cc" -type "nurbsCurve" 
  92.         3 4 0 no 3
  93.         9 0 0 0 1 2 3 4 4 4
  94.         7
  95.         -14.826968049860687 0 13.556015114254633
  96.         -13.165430611524329 0 8.5354407125528482
  97.         -8.6440198452930836 4.4216280630830749 2.485127789527835
  98.         9.0022756411987466 4.4216280630830749 -0.0052837311787143904
  99.         14.109376613320766 0 -4.7569492944810214
  100.         19.229585897860623 0 -12.008091351478219
  101.         21.789690540130525 0 -15.633662379976807
  102.         ;
  103. createNode transform -n "positionMarker3" -p "curveShape2";
  104. createNode positionMarker -n "positionMarkerShape3" -p "positionMarker3";
  105.     setAttr -k off ".v";
  106.     setAttr ".uwo" yes;
  107.     setAttr ".t" 1;
  108. createNode transform -n "positionMarker4" -p "curveShape2";
  109. createNode positionMarker -n "positionMarkerShape4" -p "positionMarker4";
  110.     setAttr -k off ".v";
  111.     setAttr ".uwo" yes;
  112.     setAttr ".lp" -type "double3" 1 0 0 ;
  113.     setAttr ".t" 120;
  114. createNode transform -n "camera1";
  115.     setAttr ".t" -type "double3" 16.202619820737155 10.1607339234351 24.917864561275259 ;
  116.     setAttr ".r" -type "double3" -18.112244198880223 33.931793688703678 -9.5834171295239161e-016 ;
  117.     setAttr ".rp" -type "double3" 0 4.4408920985006262e-016 4.4408920985006262e-015 ;
  118.     setAttr ".rpt" -type "double3" 8.4816870698563347e-016 1.8158945444562125e-015 
  119.         -6.8698465004207599e-016 ;
  120. createNode camera -n "cameraShape1" -p "camera1";
  121.     setAttr -k off ".v";
  122.     setAttr ".cap" -type "double2" 1.41732 0.94488000000000005 ;
  123.     setAttr ".ff" 0;
  124.     setAttr ".ovr" 2;
  125.     setAttr ".ncp" 0.01;
  126.     setAttr ".coi" 30.057194262537035;
  127.     setAttr ".ow" 30;
  128.     setAttr ".imn" -type "string" "camera1";
  129.     setAttr ".den" -type "string" "camera1_depth";
  130.     setAttr ".man" -type "string" "camera1_mask";
  131.     setAttr ".dr" yes;
  132.     setAttr ".ma" no;
  133. createNode transform -n "directionalLight1";
  134.     setAttr ".t" -type "double3" -13.104938052253159 -4.9924989683225478 3.525805363570182 ;
  135.     setAttr ".r" -type "double3" -26.763255057694142 17.918552578600547 9.0174430883121115 ;
  136. createNode directionalLight -n "directionalLightShape1" -p "directionalLight1";
  137.     setAttr -k off ".v";
  138. createNode transform -n "polyShipAnim";
  139.     setAttr ".s" -type "double3" 0.3 0.3 0.3 ;
  140.     setAttr ".dh" yes;
  141. createNode renderLayer -s -n "globalRender";
  142. createNode lightLinker -n "lightLinker1";
  143.     setAttr ".ihi" 0;
  144.     setAttr -s 2 ".lnk";
  145. createNode displayLayerManager -n "layerManager";
  146. createNode displayLayer -n "defaultLayer";
  147. createNode renderLayerManager -n "renderLayerManager";
  148. createNode renderLayer -n "defaultRenderLayer";
  149. createNode reference -n "polyShipRN";
  150. createNode script -n "uiConfigurationScriptNode";
  151.     setAttr ".b" -type "string" (
  152.         "// Maya Mel UI Configuration File.\n"
  153.         + "//\n"
  154.         + "//  This script is machine generated.  Edit at your own risk.\n"
  155.         + "//\n"
  156.         + "//\n"
  157.         + "if (`paneLayout -exists $gMainPane`) {\n"
  158.         + "    global int $gUseScenePanelConfig;\n"
  159.         + "    int    $useSceneConfig = $gUseScenePanelConfig;\n"
  160.         + "    int    $menusOkayInPanels = `optionVar -q allowMenusInPanels`;    int    $nVisPanes = `paneLayout -q -nvp $gMainPane`;\n"
  161.         + "    int    $nPanes = 0;\n"
  162.         + "    string $editorName;\n"
  163.         + "    string $panelName;\n"
  164.         + "    string $itemFilterName;\n"
  165.         + "    string $panelConfig;\n"
  166.         + "    //\n"
  167.         + "    //  get current state of the UI\n"
  168.         + "    //\n"
  169.         + "    sceneUIReplacement -update $gMainPane;\n"
  170.         + "    $panelName = `sceneUIReplacement -getNextPanel \"modelPanel\" \"Top View\"`;\n"
  171.         + "    if (\"\" == $panelName) {\n"
  172.         + "        if ($useSceneConfig) {\n"
  173.         + "            $panelName = `modelPanel -unParent -l \"Top View\" -mbv $menusOkayInPanels `;\n"
  174.         + "            $editorName = $panelName;\n"
  175.         + "            modelEditor -e \n"
  176.         + "                -camera \"top\" \n"
  177.         + "                -useInteractiveMode 0\n"
  178.         + "                -displayLights \"default\" \n"
  179.         + "                -displayAppearance \"wireframe\" \n"
  180.         + "                -activeOnly 0\n"
  181.         + "                -wireframeOnShaded 0\n"
  182.         + "                -bufferMode \"double\" \n"
  183.         + "                -twoSidedLighting 1\n"
  184.         + "                -backfaceCulling 0\n"
  185.         + "                -xray 0\n"
  186.         + "                -displayTextures 0\n"
  187.         + "                -textureMaxSize 1024\n"
  188.         + "                -nurbsCurves 1\n"
  189.         + "                -nurbsSurfaces 1\n"
  190.         + "                -polymeshes 1\n"
  191.         + "                -subdivSurfaces 1\n"
  192.         + "                -planes 1\n"
  193.         + "                -lights 1\n"
  194.         + "                -cameras 1\n"
  195.         + "                -controlVertices 1\n"
  196.         + "                -hulls 1\n"
  197.         + "                -grid 1\n"
  198.         + "                -joints 1\n"
  199.         + "                -ikHandles 1\n"
  200.         + "                -deformers 1\n"
  201.         + "                -dynamics 1\n"
  202.         + "                -locators 1\n"
  203.         + "                -dimensions 1\n"
  204.         + "                -handles 1\n"
  205.         + "                -pivots 1\n"
  206.         + "                -textures 1\n"
  207.         + "                -strokes 1\n"
  208.         + "                $editorName;\n"
  209.         + "modelEditor -e -viewSelected 0 $editorName;\n"
  210.         + "        }\n"
  211.         + "    } else {\n"
  212.         + "        $label = `panel -q -label $panelName`;\n"
  213.         + "        modelPanel -edit -l \"Top View\" -mbv $menusOkayInPanels  $panelName;\n"
  214.         + "        $editorName = $panelName;\n"
  215.         + "        modelEditor -e \n"
  216.         + "            -camera \"top\" \n"
  217.         + "            -useInteractiveMode 0\n"
  218.         + "            -displayLights \"default\" \n"
  219.         + "            -displayAppearance \"wireframe\" \n"
  220.         + "            -activeOnly 0\n"
  221.         + "            -wireframeOnShaded 0\n"
  222.         + "            -bufferMode \"double\" \n"
  223.         + "            -twoSidedLighting 1\n"
  224.         + "            -backfaceCulling 0\n"
  225.         + "            -xray 0\n"
  226.         + "            -displayTextures 0\n"
  227.         + "            -textureMaxSize 1024\n"
  228.         + "            -nurbsCurves 1\n"
  229.         + "            -nurbsSurfaces 1\n"
  230.         + "            -polymeshes 1\n"
  231.         + "            -subdivSurfaces 1\n"
  232.         + "            -planes 1\n"
  233.         + "            -lights 1\n"
  234.         + "            -cameras 1\n"
  235.         + "            -controlVertices 1\n"
  236.         + "            -hulls 1\n"
  237.         + "            -grid 1\n"
  238.         + "            -joints 1\n"
  239.         + "            -ikHandles 1\n"
  240.         + "            -deformers 1\n"
  241.         + "            -dynamics 1\n"
  242.         + "            -locators 1\n"
  243.         + "            -dimensions 1\n"
  244.         + "            -handles 1\n"
  245.         + "            -pivots 1\n"
  246.         + "            -textures 1\n"
  247.         + "            -strokes 1\n"
  248.         + "            $editorName;\n"
  249.         + "modelEditor -e -viewSelected 0 $editorName;\n"
  250.         + "        if (!$useSceneConfig) {\n"
  251.         + "            panel -e -l $label $panelName;\n"
  252.         + "        }\n"
  253.         + "    }\n"
  254.         + "    $panelName = `sceneUIReplacement -getNextPanel \"modelPanel\" \"Side View\"`;\n"
  255.         + "    if (\"\" == $panelName) {\n"
  256.         + "        if ($useSceneConfig) {\n"
  257.         + "            $panelName = `modelPanel -unParent -l \"Side View\" -mbv $menusOkayInPanels `;\n"
  258.         + "            $editorName = $panelName;\n"
  259.         + "            modelEditor -e \n"
  260.         + "                -camera \"camera1\" \n"
  261.         + "                -useInteractiveMode 0\n"
  262.         + "                -displayLights \"all\" \n"
  263.         + "                -displayAppearance \"smoothShaded\" \n"
  264.         + "                -activeOnly 0\n"
  265.         + "                -wireframeOnShaded 0\n"
  266.         + "                -bufferMode \"double\" \n"
  267.         + "                -twoSidedLighting 1\n"
  268.         + "                -backfaceCulling 0\n"
  269.         + "                -xray 0\n"
  270.         + "                -displayTextures 1\n"
  271.         + "                -textureMaxSize 1024\n"
  272.         + "                -nurbsCurves 1\n"
  273.         + "                -nurbsSurfaces 1\n"
  274.         + "                -polymeshes 1\n"
  275.         + "                -subdivSurfaces 1\n"
  276.         + "                -planes 1\n"
  277.         + "                -lights 1\n"
  278.         + "                -cameras 1\n"
  279.         + "                -controlVertices 1\n"
  280.         + "                -hulls 1\n"
  281.         + "                -grid 1\n"
  282.         + "                -joints 1\n"
  283.         + "                -ikHandles 1\n"
  284.         + "                -deformers 1\n"
  285.         + "                -dynamics 1\n"
  286.         + "                -locators 1\n"
  287.         + "                -dimensions 1\n"
  288.         + "                -handles 1\n"
  289.         + "                -pivots 1\n"
  290.         + "                -textures 1\n"
  291.         + "                -strokes 1\n"
  292.         + "                $editorName;\n"
  293.         + "modelEditor -e -viewSelected 0 $editorName;\n"
  294.         + "        }\n"
  295.         + "    } else {\n"
  296.         + "        $label = `panel -q -label $panelName`;\n"
  297.         + "        modelPanel -edit -l \"Side View\" -mbv $menusOkayInPanels  $panelName;\n"
  298.         + "        $editorName = $panelName;\n"
  299.         + "        modelEditor -e \n"
  300.         + "            -camera \"camera1\" \n"
  301.         + "            -useInteractiveMode 0\n"
  302.         + "            -displayLights \"all\" \n"
  303.         + "            -displayAppearance \"smoothShaded\" \n"
  304.         + "            -activeOnly 0\n"
  305.         + "            -wireframeOnShaded 0\n"
  306.         + "            -bufferMode \"double\" \n"
  307.         + "            -twoSidedLighting 1\n"
  308.         + "            -backfaceCulling 0\n"
  309.         + "            -xray 0\n"
  310.         + "            -displayTextures 1\n"
  311.         + "            -textureMaxSize 1024\n"
  312.         + "            -nurbsCurves 1\n"
  313.         + "            -nurbsSurfaces 1\n"
  314.         + "            -polymeshes 1\n"
  315.         + "            -subdivSurfaces 1\n"
  316.         + "            -planes 1\n"
  317.         + "            -lights 1\n"
  318.         + "            -cameras 1\n"
  319.         + "            -controlVertices 1\n"
  320.         + "            -hulls 1\n"
  321.         + "            -grid 1\n"
  322.         + "            -joints 1\n"
  323.         + "            -ikHandles 1\n"
  324.         + "            -deformers 1\n"
  325.         + "            -dynamics 1\n"
  326.         + "            -locators 1\n"
  327.         + "            -dimensions 1\n"
  328.         + "            -handles 1\n"
  329.         + "            -pivots 1\n"
  330.         + "            -textures 1\n"
  331.         + "            -strokes 1\n"
  332.         + "            $editorName;\n"
  333.         + "modelEditor -e -viewSelected 0 $editorName;\n"
  334.         + "        if (!$useSceneConfig) {\n"
  335.         + "            panel -e -l $label $panelName;\n"
  336.         + "        }\n"
  337.         + "    }\n"
  338.         + "    $panelName = `sceneUIReplacement -getNextPanel \"modelPanel\" \"Front View\"`;\n"
  339.         + "    if (\"\" == $panelName) {\n"
  340.         + "        if ($useSceneConfig) {\n"
  341.         + "            $panelName = `modelPanel -unParent -l \"Front View\" -mbv $menusOkayInPanels `;\n"
  342.         + "            $editorName = $panelName;\n"
  343.         + "            modelEditor -e \n"
  344.         + "                -camera \"front\" \n"
  345.         + "                -useInteractiveMode 0\n"
  346.         + "                -displayLights \"default\" \n"
  347.         + "                -displayAppearance \"wireframe\" \n"
  348.         + "                -activeOnly 0\n"
  349.         + "                -wireframeOnShaded 0\n"
  350.         + "                -bufferMode \"double\" \n"
  351.         + "                -twoSidedLighting 1\n"
  352.         + "                -backfaceCulling 0\n"
  353.         + "                -xray 0\n"
  354.         + "                -displayTextures 0\n"
  355.         + "                -textureMaxSize 1024\n"
  356.         + "                -nurbsCurves 1\n"
  357.         + "                -nurbsSurfaces 1\n"
  358.         + "                -polymeshes 1\n"
  359.         + "                -subdivSurfaces 1\n"
  360.         + "                -planes 1\n"
  361.         + "                -lights 1\n"
  362.         + "                -cameras 1\n"
  363.         + "                -controlVertices 1\n"
  364.         + "                -hulls 1\n"
  365.         + "                -grid 1\n"
  366.         + "                -joints 1\n"
  367.         + "                -ikHandles 1\n"
  368.         + "                -deformers 1\n"
  369.         + "                -dynamics 1\n"
  370.         + "                -locators 1\n"
  371.         + "                -dimensions 1\n"
  372.         + "                -handles 1\n"
  373.         + "                -pivots 1\n"
  374.         + "                -textures 1\n"
  375.         + "                -strokes 1\n"
  376.         + "                $editorName;\n"
  377.         + "modelEditor -e -viewSelected 0 $editorName;\n"
  378.         + "        }\n"
  379.         + "    } else {\n"
  380.         + "        $label = `panel -q -label $panelName`;\n"
  381.         + "        modelPanel -edit -l \"Front View\" -mbv $menusOkayInPanels  $panelName;\n"
  382.         + "        $editorName = $panelName;\n"
  383.         + "        modelEditor -e \n"
  384.         + "            -camera \"front\" \n"
  385.         + "            -useInteractiveMode 0\n"
  386.         + "            -displayLights \"default\" \n"
  387.         + "            -displayAppearance \"wireframe\" \n"
  388.         + "            -activeOnly 0\n"
  389.         + "            -wireframeOnShaded 0\n"
  390.         + "            -bufferMode \"double\" \n"
  391.         + "            -twoSidedLighting 1\n"
  392.         + "            -backfaceCulling 0\n"
  393.         + "            -xray 0\n"
  394.         + "            -displayTextures 0\n"
  395.         + "            -textureMaxSize 1024\n"
  396.         + "            -nurbsCurves 1\n"
  397.         + "            -nurbsSurfaces 1\n"
  398.         + "            -polymeshes 1\n"
  399.         + "            -subdivSurfaces 1\n"
  400.         + "            -planes 1\n"
  401.         + "            -lights 1\n"
  402.         + "            -cameras 1\n"
  403.         + "            -controlVertices 1\n"
  404.         + "            -hulls 1\n"
  405.         + "            -grid 1\n"
  406.         + "            -joints 1\n"
  407.         + "            -ikHandles 1\n"
  408.         + "            -deformers 1\n"
  409.         + "            -dynamics 1\n"
  410.         + "            -locators 1\n"
  411.         + "            -dimensions 1\n"
  412.         + "            -handles 1\n"
  413.         + "            -pivots 1\n"
  414.         + "            -textures 1\n"
  415.         + "            -strokes 1\n"
  416.         + "            $editorName;\n"
  417.         + "modelEditor -e -viewSelected 0 $editorName;\n"
  418.         + "        if (!$useSceneConfig) {\n"
  419.         + "            panel -e -l $label $panelName;\n"
  420.         + "        }\n"
  421.         + "    }\n"
  422.         + "    $panelName = `sceneUIReplacement -getNextPanel \"modelPanel\" \"Persp View\"`;\n"
  423.         + "    if (\"\" == $panelName) {\n"
  424.         + "        if ($useSceneConfig) {\n"
  425.         + "            $panelName = `modelPanel -unParent -l \"Persp View\" -mbv $menusOkayInPanels `;\n"
  426.         + "            $editorName = $panelName;\n"
  427.         + "            modelEditor -e \n"
  428.         + "                -camera \"persp\" \n"
  429.         + "                -useInteractiveMode 0\n"
  430.         + "                -displayLights \"all\" \n"
  431.         + "                -displayAppearance \"smoothShaded\" \n"
  432.         + "                -activeOnly 0\n"
  433.         + "                -wireframeOnShaded 0\n"
  434.         + "                -bufferMode \"double\" \n"
  435.         + "                -twoSidedLighting 1\n"
  436.         + "                -backfaceCulling 0\n"
  437.         + "                -xray 0\n"
  438.         + "                -displayTextures 1\n"
  439.         + "                -textureMaxSize 1024\n"
  440.         + "                -nurbsCurves 1\n"
  441.         + "                -nurbsSurfaces 1\n"
  442.         + "                -polymeshes 1\n"
  443.         + "                -subdivSurfaces 1\n"
  444.         + "                -planes 1\n"
  445.         + "                -lights 1\n"
  446.         + "                -cameras 1\n"
  447.         + "                -controlVertices 1\n"
  448.         + "                -hulls 1\n"
  449.         + "                -grid 1\n"
  450.         + "                -joints 1\n"
  451.         + "                -ikHandles 1\n"
  452.         + "                -deformers 1\n"
  453.         + "                -dynamics 1\n"
  454.         + "                -locators 1\n"
  455.         + "                -dimensions 1\n"
  456.         + "                -handles 1\n"
  457.         + "                -pivots 1\n"
  458.         + "                -textures 1\n"
  459.         + "                -strokes 1\n"
  460.         + "                $editorName;\n"
  461.         + "modelEditor -e -viewSelected 0 $editorName;\n"
  462.         + "        }\n"
  463.         + "    } else {\n"
  464.         + "        $label = `panel -q -label $panelName`;\n"
  465.         + "        modelPanel -edit -l \"Persp View\" -mbv $menusOkayInPanels  $panelName;\n"
  466.         + "        $editorName = $panelName;\n"
  467.         + "        modelEditor -e \n"
  468.         + "            -camera \"persp\" \n"
  469.         + "            -useInteractiveMode 0\n"
  470.         + "            -displayLights \"all\" \n"
  471.         + "            -displayAppearance \"smoothShaded\" \n"
  472.         + "            -activeOnly 0\n"
  473.         + "            -wireframeOnShaded 0\n"
  474.         + "            -bufferMode \"double\" \n"
  475.         + "            -twoSidedLighting 1\n"
  476.         + "            -backfaceCulling 0\n"
  477.         + "            -xray 0\n"
  478.         + "            -displayTextures 1\n"
  479.         + "            -textureMaxSize 1024\n"
  480.         + "            -nurbsCurves 1\n"
  481.         + "            -nurbsSurfaces 1\n"
  482.         + "            -polymeshes 1\n"
  483.         + "            -subdivSurfaces 1\n"
  484.         + "            -planes 1\n"
  485.         + "            -lights 1\n"
  486.         + "            -cameras 1\n"
  487.         + "            -controlVertices 1\n"
  488.         + "            -hulls 1\n"
  489.         + "            -grid 1\n"
  490.         + "            -joints 1\n"
  491.         + "            -ikHandles 1\n"
  492.         + "            -deformers 1\n"
  493.         + "            -dynamics 1\n"
  494.         + "            -locators 1\n"
  495.         + "            -dimensions 1\n"
  496.         + "            -handles 1\n"
  497.         + "            -pivots 1\n"
  498.         + "            -textures 1\n"
  499.         + "            -strokes 1\n"
  500.         + "            $editorName;\n"
  501.         + "modelEditor -e -viewSelected 0 $editorName;\n"
  502.         + "        if (!$useSceneConfig) {\n"
  503.         + "            panel -e -l $label $panelName;\n"
  504.         + "        }\n"
  505.         + "    }\n"
  506.         + "    $panelName = `sceneUIReplacement -getNextPanel \"outlinerPanel\" \"Outliner\"`;\n"
  507.         + "    if (\"\" == $panelName) {\n"
  508.         + "        if ($useSceneConfig) {\n"
  509.         + "            $panelName = `outlinerPanel -unParent -l \"Outliner\" -mbv $menusOkayInPanels `;\n"
  510.         + "            $editorName = $panelName;\n"
  511.         + "            outlinerEditor -e \n"
  512.         + "                -mainListConnection \"worldList\" \n"
  513.         + "                -selectionConnection \"modelList\" \n"
  514.         + "                -showShapes 0\n"
  515.         + "                -showAttributes 0\n"
  516.         + "                -showConnected 0\n"
  517.         + "                -showAnimCurvesOnly 0\n"
  518.         + "                -autoExpand 0\n"
  519.         + "                -showDagOnly 1\n"
  520.         + "                -ignoreDagHierarchy 0\n"
  521.         + "                -expandConnections 0\n"
  522.         + "                -showUnitlessCurves 1\n"
  523.         + "                -showCompounds 1\n"
  524.         + "                -showLeafs 1\n"
  525.         + "                -showNumericAttrsOnly 0\n"
  526.         + "                -highlightActive 1\n"
  527.         + "                -autoSelectNewObjects 0\n"
  528.         + "                -doNotSelectNewObjects 0\n"
  529.         + "                -dropIsParent 1\n"
  530.         + "                -transmitFilters 0\n"
  531.         + "                -setFilter \"defaultSetFilter\" \n"
  532.         + "                -showSetMembers 1\n"
  533.         + "                -allowMultiSelection 1\n"
  534.         + "                -alwaysToggleSelect 0\n"
  535.         + "                -directSelect 0\n"
  536.         + "                -displayMode \"DAG\" \n"
  537.         + "                -expandObjects 0\n"
  538.         + "                -setsIgnoreFilters 1\n"
  539.         + "                -editAttrName 0\n"
  540.         + "                -showAttrValues 0\n"
  541.         + "                -highlightSecondary 0\n"
  542.         + "                -showUVAttrsOnly 0\n"
  543.         + "                -showTextureNodesOnly 0\n"
  544.         + "                $editorName;\n"
  545.         + "        }\n"
  546.         + "    } else {\n"
  547.         + "        $label = `panel -q -label $panelName`;\n"
  548.         + "        outlinerPanel -edit -l \"Outliner\" -mbv $menusOkayInPanels  $panelName;\n"
  549.         + "        $editorName = $panelName;\n"
  550.         + "        outlinerEditor -e \n"
  551.         + "            -mainListConnection \"worldList\" \n"
  552.         + "            -selectionConnection \"modelList\" \n"
  553.         + "            -showShapes 0\n"
  554.         + "            -showAttributes 0\n"
  555.         + "            -showConnected 0\n"
  556.         + "            -showAnimCurvesOnly 0\n"
  557.         + "            -autoExpand 0\n"
  558.         + "            -showDagOnly 1\n"
  559.         + "            -ignoreDagHierarchy 0\n"
  560.         + "            -expandConnections 0\n"
  561.         + "            -showUnitlessCurves 1\n"
  562.         + "            -showCompounds 1\n"
  563.         + "            -showLeafs 1\n"
  564.         + "            -showNumericAttrsOnly 0\n"
  565.         + "            -highlightActive 1\n"
  566.         + "            -autoSelectNewObjects 0\n"
  567.         + "            -doNotSelectNewObjects 0\n"
  568.         + "            -dropIsParent 1\n"
  569.         + "            -transmitFilters 0\n"
  570.         + "            -setFilter \"defaultSetFilter\" \n"
  571.         + "            -showSetMembers 1\n"
  572.         + "            -allowMultiSelection 1\n"
  573.         + "            -alwaysToggleSelect 0\n"
  574.         + "            -directSelect 0\n"
  575.         + "            -displayMode \"DAG\" \n"
  576.         + "            -expandObjects 0\n"
  577.         + "            -setsIgnoreFilters 1\n"
  578.         + "            -editAttrName 0\n"
  579.         + "            -showAttrValues 0\n"
  580.         + "            -highlightSecondary 0\n"
  581.         + "            -showUVAttrsOnly 0\n"
  582.         + "            -showTextureNodesOnly 0\n"
  583.         + "            $editorName;\n"
  584.         + "        if (!$useSceneConfig) {\n"
  585.         + "            panel -e -l $label $panelName;\n"
  586.         + "        }\n"
  587.         + "    }\n"
  588.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"graphEditor\" \"Graph Editor\"`;\n"
  589.         + "    if (\"\" == $panelName) {\n"
  590.         + "        if ($useSceneConfig) {\n"
  591.         + "            $panelName = `scriptedPanel -unParent  -type \"graphEditor\" -l \"Graph Editor\" -mbv $menusOkayInPanels `;\n"
  592.         + "            $editorName = ($panelName+\"OutlineEd\");\n"
  593.         + "            outlinerEditor -e \n"
  594.         + "                -mainListConnection \"graphEditorList\" \n"
  595.         + "                -selectionConnection \"graphEditor1FromOutliner\" \n"
  596.         + "                -highlightConnection \"keyframeList\" \n"
  597.         + "                -showShapes 1\n"
  598.         + "                -showAttributes 1\n"
  599.         + "                -showConnected 1\n"
  600.         + "                -showAnimCurvesOnly 1\n"
  601.         + "                -autoExpand 1\n"
  602.         + "                -showDagOnly 0\n"
  603.         + "                -ignoreDagHierarchy 0\n"
  604.         + "                -expandConnections 1\n"
  605.         + "                -showUnitlessCurves 1\n"
  606.         + "                -showCompounds 0\n"
  607.         + "                -showLeafs 1\n"
  608.         + "                -showNumericAttrsOnly 1\n"
  609.         + "                -highlightActive 0\n"
  610.         + "                -autoSelectNewObjects 1\n"
  611.         + "                -doNotSelectNewObjects 0\n"
  612.         + "                -dropIsParent 1\n"
  613.         + "                -transmitFilters 1\n"
  614.         + "                -setFilter \"0\" \n"
  615.         + "                -showSetMembers 0\n"
  616.         + "                -allowMultiSelection 1\n"
  617.         + "                -alwaysToggleSelect 0\n"
  618.         + "                -directSelect 0\n"
  619.         + "                -displayMode \"DAG\" \n"
  620.         + "                -expandObjects 0\n"
  621.         + "                -setsIgnoreFilters 1\n"
  622.         + "                -editAttrName 0\n"
  623.         + "                -showAttrValues 0\n"
  624.         + "                -highlightSecondary 0\n"
  625.         + "                -showUVAttrsOnly 0\n"
  626.         + "                -showTextureNodesOnly 0\n"
  627.         + "                $editorName;\n"
  628.         + "            $editorName = ($panelName+\"GraphEd\");\n"
  629.         + "            animCurveEditor -e \n"
  630.         + "                -mainListConnection \"graphEditor1FromOutliner\" \n"
  631.         + "                -displayKeys 1\n"
  632.         + "                -displayTangents 0\n"
  633.         + "                -displayActiveKeys 0\n"
  634.         + "                -displayActiveKeyTangents 1\n"
  635.         + "                -displayInfinities 0\n"
  636.         + "                -autoFit 0\n"
  637.         + "                -snapTime \"none\" \n"
  638.         + "                -snapValue \"none\" \n"
  639.         + "                -showResults \"off\" \n"
  640.         + "                -showBufferCurves \"off\" \n"
  641.         + "                -smoothness \"fine\" \n"
  642.         + "                -resultSamples 1\n"
  643.         + "                -resultScreenSamples 0\n"
  644.         + "                -resultUpdate \"delayed\" \n"
  645.         + "                $editorName;\n"
  646.         + "        }\n"
  647.         + "    } else {\n"
  648.         + "        $label = `panel -q -label $panelName`;\n"
  649.         + "        scriptedPanel -edit -l \"Graph Editor\" -mbv $menusOkayInPanels  $panelName;\n"
  650.         + "            $editorName = ($panelName+\"OutlineEd\");\n"
  651.         + "            outlinerEditor -e \n"
  652.         + "                -mainListConnection \"graphEditorList\" \n"
  653.         + "                -selectionConnection \"graphEditor1FromOutliner\" \n"
  654.         + "                -highlightConnection \"keyframeList\" \n"
  655.         + "                -showShapes 1\n"
  656.         + "                -showAttributes 1\n"
  657.         + "                -showConnected 1\n"
  658.         + "                -showAnimCurvesOnly 1\n"
  659.         + "                -autoExpand 1\n"
  660.         + "                -showDagOnly 0\n"
  661.         + "                -ignoreDagHierarchy 0\n"
  662.         + "                -expandConnections 1\n"
  663.         + "                -showUnitlessCurves 1\n"
  664.         + "                -showCompounds 0\n"
  665.         + "                -showLeafs 1\n"
  666.         + "                -showNumericAttrsOnly 1\n"
  667.         + "                -highlightActive 0\n"
  668.         + "                -autoSelectNewObjects 1\n"
  669.         + "                -doNotSelectNewObjects 0\n"
  670.         + "                -dropIsParent 1\n"
  671.         + "                -transmitFilters 1\n"
  672.         + "                -setFilter \"0\" \n"
  673.         + "                -showSetMembers 0\n"
  674.         + "                -allowMultiSelection 1\n"
  675.         + "                -alwaysToggleSelect 0\n"
  676.         + "                -directSelect 0\n"
  677.         + "                -displayMode \"DAG\" \n"
  678.         + "                -expandObjects 0\n"
  679.         + "                -setsIgnoreFilters 1\n"
  680.         + "                -editAttrName 0\n"
  681.         + "                -showAttrValues 0\n"
  682.         + "                -highlightSecondary 0\n"
  683.         + "                -showUVAttrsOnly 0\n"
  684.         + "                -showTextureNodesOnly 0\n"
  685.         + "                $editorName;\n"
  686.         + "            $editorName = ($panelName+\"GraphEd\");\n"
  687.         + "            animCurveEditor -e \n"
  688.         + "                -mainListConnection \"graphEditor1FromOutliner\" \n"
  689.         + "                -displayKeys 1\n"
  690.         + "                -displayTangents 0\n"
  691.         + "                -displayActiveKeys 0\n"
  692.         + "                -displayActiveKeyTangents 1\n"
  693.         + "                -displayInfinities 0\n"
  694.         + "                -autoFit 0\n"
  695.         + "                -snapTime \"none\" \n"
  696.         + "                -snapValue \"none\" \n"
  697.         + "                -showResults \"off\" \n"
  698.         + "                -showBufferCurves \"off\" \n"
  699.         + "                -smoothness \"fine\" \n"
  700.         + "                -resultSamples 1\n"
  701.         + "                -resultScreenSamples 0\n"
  702.         + "                -resultUpdate \"delayed\" \n"
  703.         + "                $editorName;\n"
  704.         + "        if (!$useSceneConfig) {\n"
  705.         + "            panel -e -l $label $panelName;\n"
  706.         + "        }\n"
  707.         + "    }\n"
  708.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"dopeSheetPanel\" \"Dope Sheet\"`;\n"
  709.         + "    if (\"\" == $panelName) {\n"
  710.         + "        if ($useSceneConfig) {\n"
  711.         + "            $panelName = `scriptedPanel -unParent  -type \"dopeSheetPanel\" -l \"Dope Sheet\" -mbv $menusOkayInPanels `;\n"
  712.         + "            $editorName = ($panelName+\"OutlineEd\");\n"
  713.         + "            outlinerEditor -e \n"
  714.         + "                -mainListConnection \"animationList\" \n"
  715.         + "                -selectionConnection \"dopeSheetPanel1OutlinerSelection\" \n"
  716.         + "                -highlightConnection \"keyframeList\" \n"
  717.         + "                -showShapes 1\n"
  718.         + "                -showAttributes 1\n"
  719.         + "                -showConnected 1\n"
  720.         + "                -showAnimCurvesOnly 1\n"
  721.         + "                -autoExpand 0\n"
  722.         + "                -showDagOnly 0\n"
  723.         + "                -ignoreDagHierarchy 0\n"
  724.         + "                -expandConnections 1\n"
  725.         + "                -showUnitlessCurves 0\n"
  726.         + "                -showCompounds 1\n"
  727.         + "                -showLeafs 1\n"
  728.         + "                -showNumericAttrsOnly 1\n"
  729.         + "                -highlightActive 0\n"
  730.         + "                -autoSelectNewObjects 0\n"
  731.         + "                -doNotSelectNewObjects 1\n"
  732.         + "                -dropIsParent 1\n"
  733.         + "                -transmitFilters 0\n"
  734.         + "                -setFilter \"0\" \n"
  735.         + "                -showSetMembers 0\n"
  736.         + "                -allowMultiSelection 1\n"
  737.         + "                -alwaysToggleSelect 0\n"
  738.         + "                -directSelect 0\n"
  739.         + "                -displayMode \"DAG\" \n"
  740.         + "                -expandObjects 0\n"
  741.         + "                -setsIgnoreFilters 1\n"
  742.         + "                -editAttrName 0\n"
  743.         + "                -showAttrValues 0\n"
  744.         + "                -highlightSecondary 0\n"
  745.         + "                -showUVAttrsOnly 0\n"
  746.         + "                -showTextureNodesOnly 0\n"
  747.         + "                $editorName;\n"
  748.         + "            $editorName = ($panelName+\"DopeSheetEd\");\n"
  749.         + "            dopeSheetEditor -e \n"
  750.         + "                -mainListConnection \"dopeSheetPanel1FromOutliner\" \n"
  751.         + "                -highlightConnection \"dopeSheetPanel1OutlinerSelection\" \n"
  752.         + "                -displayKeys 1\n"
  753.         + "                -displayTangents 0\n"
  754.         + "                -displayActiveKeys 0\n"
  755.         + "                -displayActiveKeyTangents 0\n"
  756.         + "                -displayInfinities 0\n"
  757.         + "                -autoFit 0\n"
  758.         + "                -snapTime \"integer\" \n"
  759.         + "                -snapValue \"none\" \n"
  760.         + "                -outliner \"dopeSheetPanel1OutlineEd\" \n"
  761.         + "                -showSummary 1\n"
  762.         + "                -showScene 0\n"
  763.         + "                -hierarchyBelow 0\n"
  764.         + "                $editorName;\n"
  765.         + "        }\n"
  766.         + "    } else {\n"
  767.         + "        $label = `panel -q -label $panelName`;\n"
  768.         + "        scriptedPanel -edit -l \"Dope Sheet\" -mbv $menusOkayInPanels  $panelName;\n"
  769.         + "            $editorName = ($panelName+\"OutlineEd\");\n"
  770.         + "            outlinerEditor -e \n"
  771.         + "                -mainListConnection \"animationList\" \n"
  772.         + "                -selectionConnection \"dopeSheetPanel1OutlinerSelection\" \n"
  773.         + "                -highlightConnection \"keyframeList\" \n"
  774.         + "                -showShapes 1\n"
  775.         + "                -showAttributes 1\n"
  776.         + "                -showConnected 1\n"
  777.         + "                -showAnimCurvesOnly 1\n"
  778.         + "                -autoExpand 0\n"
  779.         + "                -showDagOnly 0\n"
  780.         + "                -ignoreDagHierarchy 0\n"
  781.         + "                -expandConnections 1\n"
  782.         + "                -showUnitlessCurves 0\n"
  783.         + "                -showCompounds 1\n"
  784.         + "                -showLeafs 1\n"
  785.         + "                -showNumericAttrsOnly 1\n"
  786.         + "                -highlightActive 0\n"
  787.         + "                -autoSelectNewObjects 0\n"
  788.         + "                -doNotSelectNewObjects 1\n"
  789.         + "                -dropIsParent 1\n"
  790.         + "                -transmitFilters 0\n"
  791.         + "                -setFilter \"0\" \n"
  792.         + "                -showSetMembers 0\n"
  793.         + "                -allowMultiSelection 1\n"
  794.         + "                -alwaysToggleSelect 0\n"
  795.         + "                -directSelect 0\n"
  796.         + "                -displayMode \"DAG\" \n"
  797.         + "                -expandObjects 0\n"
  798.         + "                -setsIgnoreFilters 1\n"
  799.         + "                -editAttrName 0\n"
  800.         + "                -showAttrValues 0\n"
  801.         + "                -highlightSecondary 0\n"
  802.         + "                -showUVAttrsOnly 0\n"
  803.         + "                -showTextureNodesOnly 0\n"
  804.         + "                $editorName;\n"
  805.         + "            $editorName = ($panelName+\"DopeSheetEd\");\n"
  806.         + "            dopeSheetEditor -e \n"
  807.         + "                -mainListConnection \"dopeSheetPanel1FromOutliner\" \n"
  808.         + "                -highlightConnection \"dopeSheetPanel1OutlinerSelection\" \n"
  809.         + "                -displayKeys 1\n"
  810.         + "                -displayTangents 0\n"
  811.         + "                -displayActiveKeys 0\n"
  812.         + "                -displayActiveKeyTangents 0\n"
  813.         + "                -displayInfinities 0\n"
  814.         + "                -autoFit 0\n"
  815.         + "                -snapTime \"integer\" \n"
  816.         + "                -snapValue \"none\" \n"
  817.         + "                -outliner \"dopeSheetPanel1OutlineEd\" \n"
  818.         + "                -showSummary 1\n"
  819.         + "                -showScene 0\n"
  820.         + "                -hierarchyBelow 0\n"
  821.         + "                $editorName;\n"
  822.         + "        if (!$useSceneConfig) {\n"
  823.         + "            panel -e -l $label $panelName;\n"
  824.         + "        }\n"
  825.         + "    }\n"
  826.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"clipEditorPanel\" \"Trax Editor\"`;\n"
  827.         + "    if (\"\" == $panelName) {\n"
  828.         + "        if ($useSceneConfig) {\n"
  829.         + "            $panelName = `scriptedPanel -unParent  -type \"clipEditorPanel\" -l \"Trax Editor\" -mbv $menusOkayInPanels `;\n"
  830.         + "            $editorName = ($panelName+\"ClipEditor\");\n"
  831.         + "            clipEditor -e \n"
  832.         + "                $editorName;\n"
  833.         + "        }\n"
  834.         + "    } else {\n"
  835.         + "        $label = `panel -q -label $panelName`;\n"
  836.         + "        scriptedPanel -edit -l \"Trax Editor\" -mbv $menusOkayInPanels  $panelName;\n"
  837.         + "            $editorName = ($panelName+\"ClipEditor\");\n"
  838.         + "            clipEditor -e \n"
  839.         + "                $editorName;\n"
  840.         + "        if (!$useSceneConfig) {\n"
  841.         + "            panel -e -l $label $panelName;\n"
  842.         + "        }\n"
  843.         + "    }\n"
  844.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"hyperGraphPanel\" \"Hypergraph\"`;\n"
  845.         + "    if (\"\" == $panelName) {\n"
  846.         + "        if ($useSceneConfig) {\n"
  847.         + "            $panelName = `scriptedPanel -unParent  -type \"hyperGraphPanel\" -l \"Hypergraph\" -mbv $menusOkayInPanels `;\n"
  848.         + "            $editorName = ($panelName+\"HyperGraphEd\");\n"
  849.         + "            hyperGraph -e \n"
  850.         + "                -orientation \"horiz\" \n"
  851.         + "                -animateTransition 0\n"
  852.         + "                -showShapes 0\n"
  853.         + "                -showDeformers 0\n"
  854.         + "                -showExpressions 0\n"
  855.         + "                -showConstraints 0\n"
  856.         + "                -showUnderworld 0\n"
  857.         + "                -showInvisible 1\n"
  858.         + "                -transitionFrames 1\n"
  859.         + "                -currentNode \"polyShipAnim\" \n"
  860.         + "                -dropTargetNode \"polyShipAnim\" \n"
  861.         + "                -dropNode \"polyShip_polyShip\" \n"
  862.         + "                -freeform 0\n"
  863.         + "                -imageEnabled 0\n"
  864.         + "                -graphType \"DAG\" \n"
  865.         + "                -updateSelection 1\n"
  866.         + "                -updateNodeAdded 1\n"
  867.         + "                $editorName;\n"
  868.         + "        }\n"
  869.         + "    } else {\n"
  870.         + "        $label = `panel -q -label $panelName`;\n"
  871.         + "        scriptedPanel -edit -l \"Hypergraph\" -mbv $menusOkayInPanels  $panelName;\n"
  872.         + "            $editorName = ($panelName+\"HyperGraphEd\");\n"
  873.         + "            hyperGraph -e \n"
  874.         + "                -orientation \"horiz\" \n"
  875.         + "                -animateTransition 0\n"
  876.         + "                -showShapes 0\n"
  877.         + "                -showDeformers 0\n"
  878.         + "                -showExpressions 0\n"
  879.         + "                -showConstraints 0\n"
  880.         + "                -showUnderworld 0\n"
  881.         + "                -showInvisible 1\n"
  882.         + "                -transitionFrames 1\n"
  883.         + "                -currentNode \"polyShipAnim\" \n"
  884.         + "                -dropTargetNode \"polyShipAnim\" \n"
  885.         + "                -dropNode \"polyShip_polyShip\" \n"
  886.         + "                -freeform 0\n"
  887.         + "                -imageEnabled 0\n"
  888.         + "                -graphType \"DAG\" \n"
  889.         + "                -updateSelection 1\n"
  890.         + "                -updateNodeAdded 1\n"
  891.         + "                $editorName;\n"
  892.         + "        if (!$useSceneConfig) {\n"
  893.         + "            panel -e -l $label $panelName;\n"
  894.         + "        }\n"
  895.         + "    }\n"
  896.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"hyperShadePanel\" \"Hypershade\"`;\n"
  897.         + "    if (\"\" == $panelName) {\n"
  898.         + "        if ($useSceneConfig) {\n"
  899.         + "            $panelName = `scriptedPanel -unParent  -type \"hyperShadePanel\" -l \"Hypershade\" -mbv $menusOkayInPanels `;\n"
  900.         + "            $editorName = ($panelName+\"HyperShadeEd\");\n"
  901.         + "            hyperGraph -e \n"
  902.         + "                -orientation \"horiz\" \n"
  903.         + "                -animateTransition 0\n"
  904.         + "                -showShapes 0\n"
  905.         + "                -showDeformers 0\n"
  906.         + "                -showExpressions 0\n"
  907.         + "                -showConstraints 0\n"
  908.         + "                -showUnderworld 0\n"
  909.         + "                -showInvisible 1\n"
  910.         + "                -transitionFrames 1\n"
  911.         + "                -currentNode \"polyblinn\" \n"
  912.         + "                -freeform 1\n"
  913.         + "                -imageEnabled 0\n"
  914.         + "                -graphType \"HyperShade\" \n"
  915.         + "                -updateSelection 1\n"
  916.         + "                -updateNodeAdded 1\n"
  917.         + "                $editorName;\n"
  918.         + "            $editorName = ($panelName+\"VisorEd\");\n"
  919.         + "            hyperGraph -e \n"
  920.         + "                -orientation \"horiz\" \n"
  921.         + "                -animateTransition 0\n"
  922.         + "                -showShapes 0\n"
  923.         + "                -showDeformers 0\n"
  924.         + "                -showExpressions 0\n"
  925.         + "                -showConstraints 0\n"
  926.         + "                -showUnderworld 0\n"
  927.         + "                -showInvisible 1\n"
  928.         + "                -transitionFrames 1\n"
  929.         + "                -currentNode \"polyColor\" \n"
  930.         + "                -freeform 0\n"
  931.         + "                -imageEnabled 0\n"
  932.         + "                -graphType \"Visor\" \n"
  933.         + "                -updateSelection 1\n"
  934.         + "                -updateNodeAdded 1\n"
  935.         + "                $editorName;\n"
  936.         + "visor -reset hyperShadePanel1VisorEd;\n"
  937.         + "visor -addFolder -name \"Animation\" -parent \"\" -openDirectories 1  hyperShadePanel1VisorEd;\n"
  938.         + "visor -addFolder -name \"Character Clips & Poses\" -parent \"Animation\" -type command -cmd \"currentCharacters\" $editorName;\n"
  939.         + "visor -addFolder -name \"Clips\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterClips\" $editorName;\n"
  940.         + "visor -addFolder -name \"Poses\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterPoses\" $editorName;\n"
  941.         + "visor -addFolder -name \"Unused Clips & Poses\" -parent \"Animation\"  hyperShadePanel1VisorEd;\n"
  942.         + "visor -addFolder -name \"Clips\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryClips\" $editorName;\n"
  943.         + "visor -addFolder -name \"Poses\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryPoses\" $editorName;\n"
  944.         + "visor -addFolder -name \"Rendering\" -parent \"\" -openDirectories 1  hyperShadePanel1VisorEd;\n"
  945.         + "visor -addFolder -name \"Cameras\" -parent \"Rendering\" -type command -cmd \"ls -type camera -type imagePlane\" $editorName;\n"
  946.         + "visor -addFolder -name \"Lights\" -parent \"Rendering\" -type command -cmd \"ls -type light\" $editorName;\n"
  947.         + "visor -addFolder -name \"Materials\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultShaderList\" $editorName;\n"
  948.         + "visor -addFolder -name \"Post Process\" -parent \"Rendering\" -type command -cmd \"ls -type opticalFX -type shaderGlow\" $editorName;\n"
  949.         + "visor -addFolder -name \"Textures\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultTextureList\" $editorName;\n"
  950.         + "visor -addFolder -name \"Utilities\" -parent \"Rendering\" -type connectedNodes -cmd \"ls -type defaultRenderUtilityList\" $editorName;\n"
  951.         + "visor -addFolder -name \"Create\" -parent \"\" -openDirectories 1  hyperShadePanel1VisorEd;\n"
  952.         + "visor -addFolder -name \"Cameras\" -parent \"Create\" -type defaultNodes -cmd \"cameraCreateFolder()\" $editorName;\n"
  953.         + "visor -addFolder -name \"Lights\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes light\" $editorName;\n"
  954.         + "visor -addFolder -name \"Materials\" -parent \"Create\" -openFolder 1 -type defaultNodes -cmd \"listNodeTypes \\\"shader/surface\\\"\" $editorName;\n"
  955.         + "visor -addFolder -name \"Volume\" -parent \"Create/Materials\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/volume\\\"\" $editorName;\n"
  956.         + "visor -addFolder -name \"Post Process\" -parent \"Create\" -type defaultNodes -cmd \"postProcessCreateFolder()\" $editorName;\n"
  957.         + "visor -addFolder -name \"Textures\" -parent \"Create\" -openFolder 1 -type defaultNodes -cmd \"listNodeTypes texture\" $editorName;\n"
  958.         + "visor -addFolder -name \"Utilities\" -parent \"Create\"  hyperShadePanel1VisorEd;\n"
  959.         + "visor -addFolder -name \"Color\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/color\\\"\" $editorName;\n"
  960.         + "visor -addFolder -name \"General\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/general\\\"\" $editorName;\n"
  961.         + "visor -addFolder -name \"Particle\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/particle\\\"\" $editorName;\n"
  962.         + "visor -addFolder -name \"Switch\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/switch\\\"\" $editorName;\n"
  963.         + "visor -addFolder -name \"Project\" -parent \"\" -openDirectories 1 -type directoryCommand -cmd \"currentProjectParentDir()\" $editorName;\n"
  964.         + "visor -addFolder -name \"Brushes\" -parent \"\" -type shelfItems -cmd \"D:/AW/Maya3.0/brushes\" $editorName;\n"
  965.         + "visor -rebuild hyperShadePanel1VisorEd;\n"
  966.         + ";\n"
  967.         + "        }\n"
  968.         + "    } else {\n"
  969.         + "        $label = `panel -q -label $panelName`;\n"
  970.         + "        scriptedPanel -edit -l \"Hypershade\" -mbv $menusOkayInPanels  $panelName;\n"
  971.         + "            $editorName = ($panelName+\"HyperShadeEd\");\n"
  972.         + "            hyperGraph -e \n"
  973.         + "                -orientation \"horiz\" \n"
  974.         + "                -animateTransition 0\n"
  975.         + "                -showShapes 0\n"
  976.         + "                -showDeformers 0\n"
  977.         + "                -showExpressions 0\n"
  978.         + "                -showConstraints 0\n"
  979.         + "                -showUnderworld 0\n"
  980.         + "                -showInvisible 1\n"
  981.         + "                -transitionFrames 1\n"
  982.         + "                -currentNode \"polyblinn\" \n"
  983.         + "                -freeform 1\n"
  984.         + "                -imageEnabled 0\n"
  985.         + "                -graphType \"HyperShade\" \n"
  986.         + "                -updateSelection 1\n"
  987.         + "                -updateNodeAdded 1\n"
  988.         + "                $editorName;\n"
  989.         + "            $editorName = ($panelName+\"VisorEd\");\n"
  990.         + "            hyperGraph -e \n"
  991.         + "                -orientation \"horiz\" \n"
  992.         + "                -animateTransition 0\n"
  993.         + "                -showShapes 0\n"
  994.         + "                -showDeformers 0\n"
  995.         + "                -showExpressions 0\n"
  996.         + "                -showConstraints 0\n"
  997.         + "                -showUnderworld 0\n"
  998.         + "                -showInvisible 1\n"
  999.         + "                -transitionFrames 1\n"
  1000.         + "                -currentNode \"polyColor\" \n"
  1001.         + "                -freeform 0\n"
  1002.         + "                -imageEnabled 0\n"
  1003.         + "                -graphType \"Visor\" \n"
  1004.         + "                -updateSelection 1\n"
  1005.         + "                -updateNodeAdded 1\n"
  1006.         + "                $editorName;\n"
  1007.         + "visor -reset hyperShadePanel1VisorEd;\n"
  1008.         + "visor -addFolder -name \"Animation\" -parent \"\" -openDirectories 1  hyperShadePanel1VisorEd;\n"
  1009.         + "visor -addFolder -name \"Character Clips & Poses\" -parent \"Animation\" -type command -cmd \"currentCharacters\" $editorName;\n"
  1010.         + "visor -addFolder -name \"Clips\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterClips\" $editorName;\n"
  1011.         + "visor -addFolder -name \"Poses\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterPoses\" $editorName;\n"
  1012.         + "visor -addFolder -name \"Unused Clips & Poses\" -parent \"Animation\"  hyperShadePanel1VisorEd;\n"
  1013.         + "visor -addFolder -name \"Clips\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryClips\" $editorName;\n"
  1014.         + "visor -addFolder -name \"Poses\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryPoses\" $editorName;\n"
  1015.         + "visor -addFolder -name \"Rendering\" -parent \"\" -openDirectories 1  hyperShadePanel1VisorEd;\n"
  1016.         + "visor -addFolder -name \"Cameras\" -parent \"Rendering\" -type command -cmd \"ls -type camera -type imagePlane\" $editorName;\n"
  1017.         + "visor -addFolder -name \"Lights\" -parent \"Rendering\" -type command -cmd \"ls -type light\" $editorName;\n"
  1018.         + "visor -addFolder -name \"Materials\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultShaderList\" $editorName;\n"
  1019.         + "visor -addFolder -name \"Post Process\" -parent \"Rendering\" -type command -cmd \"ls -type opticalFX -type shaderGlow\" $editorName;\n"
  1020.         + "visor -addFolder -name \"Textures\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultTextureList\" $editorName;\n"
  1021.         + "visor -addFolder -name \"Utilities\" -parent \"Rendering\" -type connectedNodes -cmd \"ls -type defaultRenderUtilityList\" $editorName;\n"
  1022.         + "visor -addFolder -name \"Create\" -parent \"\" -openDirectories 1  hyperShadePanel1VisorEd;\n"
  1023.         + "visor -addFolder -name \"Cameras\" -parent \"Create\" -type defaultNodes -cmd \"cameraCreateFolder()\" $editorName;\n"
  1024.         + "visor -addFolder -name \"Lights\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes light\" $editorName;\n"
  1025.         + "visor -addFolder -name \"Materials\" -parent \"Create\" -openFolder 1 -type defaultNodes -cmd \"listNodeTypes \\\"shader/surface\\\"\" $editorName;\n"
  1026.         + "visor -addFolder -name \"Volume\" -parent \"Create/Materials\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/volume\\\"\" $editorName;\n"
  1027.         + "visor -addFolder -name \"Post Process\" -parent \"Create\" -type defaultNodes -cmd \"postProcessCreateFolder()\" $editorName;\n"
  1028.         + "visor -addFolder -name \"Textures\" -parent \"Create\" -openFolder 1 -type defaultNodes -cmd \"listNodeTypes texture\" $editorName;\n"
  1029.         + "visor -addFolder -name \"Utilities\" -parent \"Create\"  hyperShadePanel1VisorEd;\n"
  1030.         + "visor -addFolder -name \"Color\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/color\\\"\" $editorName;\n"
  1031.         + "visor -addFolder -name \"General\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/general\\\"\" $editorName;\n"
  1032.         + "visor -addFolder -name \"Particle\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/particle\\\"\" $editorName;\n"
  1033.         + "visor -addFolder -name \"Switch\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/switch\\\"\" $editorName;\n"
  1034.         + "visor -addFolder -name \"Project\" -parent \"\" -openDirectories 1 -type directoryCommand -cmd \"currentProjectParentDir()\" $editorName;\n"
  1035.         + "visor -addFolder -name \"Brushes\" -parent \"\" -type shelfItems -cmd \"D:/AW/Maya3.0/brushes\" $editorName;\n"
  1036.         + "visor -rebuild hyperShadePanel1VisorEd;\n"
  1037.         + ";\n"
  1038.         + "        if (!$useSceneConfig) {\n"
  1039.         + "            panel -e -l $label $panelName;\n"
  1040.         + "        }\n"
  1041.         + "    }\n"
  1042.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"visorPanel\" \"Visor\"`;\n"
  1043.         + "    if (\"\" == $panelName) {\n"
  1044.         + "        if ($useSceneConfig) {\n"
  1045.         + "            $panelName = `scriptedPanel -unParent  -type \"visorPanel\" -l \"Visor\" -mbv $menusOkayInPanels `;\n"
  1046.         + "            $editorName = ($panelName+\"VisorEd\");\n"
  1047.         + "            hyperGraph -e \n"
  1048.         + "                -orientation \"horiz\" \n"
  1049.         + "                -animateTransition 0\n"
  1050.         + "                -showShapes 0\n"
  1051.         + "                -showDeformers 0\n"
  1052.         + "                -showExpressions 0\n"
  1053.         + "                -showConstraints 0\n"
  1054.         + "                -showUnderworld 0\n"
  1055.         + "                -showInvisible 1\n"
  1056.         + "                -transitionFrames 1\n"
  1057.         + "                -freeform 0\n"
  1058.         + "                -imageEnabled 0\n"
  1059.         + "                -graphType \"Visor\" \n"
  1060.         + "                -updateSelection 1\n"
  1061.         + "                -updateNodeAdded 1\n"
  1062.         + "                $editorName;\n"
  1063.         + "visor -reset visorPanel1VisorEd;\n"
  1064.         + "visor -addFolder -name \"Animation\" -parent \"\" -openDirectories 1  visorPanel1VisorEd;\n"
  1065.         + "visor -addFolder -name \"Character Clips & Poses\" -parent \"Animation\" -type command -cmd \"currentCharacters\" $editorName;\n"
  1066.         + "visor -addFolder -name \"Clips\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterClips\" $editorName;\n"
  1067.         + "visor -addFolder -name \"Poses\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterPoses\" $editorName;\n"
  1068.         + "visor -addFolder -name \"Unused Clips & Poses\" -parent \"Animation\"  visorPanel1VisorEd;\n"
  1069.         + "visor -addFolder -name \"Clips\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryClips\" $editorName;\n"
  1070.         + "visor -addFolder -name \"Poses\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryPoses\" $editorName;\n"
  1071.         + "visor -addFolder -name \"Rendering\" -parent \"\" -openDirectories 1  visorPanel1VisorEd;\n"
  1072.         + "visor -addFolder -name \"Cameras\" -parent \"Rendering\" -type command -cmd \"ls -type camera -type imagePlane\" $editorName;\n"
  1073.         + "visor -addFolder -name \"Lights\" -parent \"Rendering\" -type command -cmd \"ls -type light\" $editorName;\n"
  1074.         + "visor -addFolder -name \"Materials\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultShaderList\" $editorName;\n"
  1075.         + "visor -addFolder -name \"Post Process\" -parent \"Rendering\" -type command -cmd \"ls -type opticalFX -type shaderGlow\" $editorName;\n"
  1076.         + "visor -addFolder -name \"Textures\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultTextureList\" $editorName;\n"
  1077.         + "visor -addFolder -name \"Utilities\" -parent \"Rendering\" -type connectedNodes -cmd \"ls -type defaultRenderUtilityList\" $editorName;\n"
  1078.         + "visor -addFolder -name \"Create\" -parent \"\" -openDirectories 1  visorPanel1VisorEd;\n"
  1079.         + "visor -addFolder -name \"Cameras\" -parent \"Create\" -type defaultNodes -cmd \"cameraCreateFolder()\" $editorName;\n"
  1080.         + "visor -addFolder -name \"Lights\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes light\" $editorName;\n"
  1081.         + "visor -addFolder -name \"Materials\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/surface\\\"\" $editorName;\n"
  1082.         + "visor -addFolder -name \"Volume\" -parent \"Create/Materials\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/volume\\\"\" $editorName;\n"
  1083.         + "visor -addFolder -name \"Post Process\" -parent \"Create\" -type defaultNodes -cmd \"postProcessCreateFolder()\" $editorName;\n"
  1084.         + "visor -addFolder -name \"Textures\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes texture\" $editorName;\n"
  1085.         + "visor -addFolder -name \"Utilities\" -parent \"Create\"  visorPanel1VisorEd;\n"
  1086.         + "visor -addFolder -name \"Color\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/color\\\"\" $editorName;\n"
  1087.         + "visor -addFolder -name \"General\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/general\\\"\" $editorName;\n"
  1088.         + "visor -addFolder -name \"Particle\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/particle\\\"\" $editorName;\n"
  1089.         + "visor -addFolder -name \"Switch\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/switch\\\"\" $editorName;\n"
  1090.         + "visor -addFolder -name \"Project\" -parent \"\" -openDirectories 1 -type directoryCommand -cmd \"currentProjectParentDir()\" $editorName;\n"
  1091.         + "visor -addFolder -name \"Brushes\" -parent \"\" -type shelfItems -cmd \"D:/AW/Maya3.0/brushes\" $editorName;\n"
  1092.         + "visor -rebuild visorPanel1VisorEd;\n"
  1093.         + ";\n"
  1094.         + "        }\n"
  1095.         + "    } else {\n"
  1096.         + "        $label = `panel -q -label $panelName`;\n"
  1097.         + "        scriptedPanel -edit -l \"Visor\" -mbv $menusOkayInPanels  $panelName;\n"
  1098.         + "            $editorName = ($panelName+\"VisorEd\");\n"
  1099.         + "            hyperGraph -e \n"
  1100.         + "                -orientation \"horiz\" \n"
  1101.         + "                -animateTransition 0\n"
  1102.         + "                -showShapes 0\n"
  1103.         + "                -showDeformers 0\n"
  1104.         + "                -showExpressions 0\n"
  1105.         + "                -showConstraints 0\n"
  1106.         + "                -showUnderworld 0\n"
  1107.         + "                -showInvisible 1\n"
  1108.         + "                -transitionFrames 1\n"
  1109.         + "                -freeform 0\n"
  1110.         + "                -imageEnabled 0\n"
  1111.         + "                -graphType \"Visor\" \n"
  1112.         + "                -updateSelection 1\n"
  1113.         + "                -updateNodeAdded 1\n"
  1114.         + "                $editorName;\n"
  1115.         + "visor -reset visorPanel1VisorEd;\n"
  1116.         + "visor -addFolder -name \"Animation\" -parent \"\" -openDirectories 1  visorPanel1VisorEd;\n"
  1117.         + "visor -addFolder -name \"Character Clips & Poses\" -parent \"Animation\" -type command -cmd \"currentCharacters\" $editorName;\n"
  1118.         + "visor -addFolder -name \"Clips\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterClips\" $editorName;\n"
  1119.         + "visor -addFolder -name \"Poses\" -parent \"Animation/Character Clips & Poses\" -type command -cmd \"getCharacterPoses\" $editorName;\n"
  1120.         + "visor -addFolder -name \"Unused Clips & Poses\" -parent \"Animation\"  visorPanel1VisorEd;\n"
  1121.         + "visor -addFolder -name \"Clips\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryClips\" $editorName;\n"
  1122.         + "visor -addFolder -name \"Poses\" -parent \"Animation/Unused Clips & Poses\" -type command -cmd \"getLibraryPoses\" $editorName;\n"
  1123.         + "visor -addFolder -name \"Rendering\" -parent \"\" -openDirectories 1  visorPanel1VisorEd;\n"
  1124.         + "visor -addFolder -name \"Cameras\" -parent \"Rendering\" -type command -cmd \"ls -type camera -type imagePlane\" $editorName;\n"
  1125.         + "visor -addFolder -name \"Lights\" -parent \"Rendering\" -type command -cmd \"ls -type light\" $editorName;\n"
  1126.         + "visor -addFolder -name \"Materials\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultShaderList\" $editorName;\n"
  1127.         + "visor -addFolder -name \"Post Process\" -parent \"Rendering\" -type command -cmd \"ls -type opticalFX -type shaderGlow\" $editorName;\n"
  1128.         + "visor -addFolder -name \"Textures\" -parent \"Rendering\" -openFolder 1 -type connectedNodes -cmd \"ls -type defaultTextureList\" $editorName;\n"
  1129.         + "visor -addFolder -name \"Utilities\" -parent \"Rendering\" -type connectedNodes -cmd \"ls -type defaultRenderUtilityList\" $editorName;\n"
  1130.         + "visor -addFolder -name \"Create\" -parent \"\" -openDirectories 1  visorPanel1VisorEd;\n"
  1131.         + "visor -addFolder -name \"Cameras\" -parent \"Create\" -type defaultNodes -cmd \"cameraCreateFolder()\" $editorName;\n"
  1132.         + "visor -addFolder -name \"Lights\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes light\" $editorName;\n"
  1133.         + "visor -addFolder -name \"Materials\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/surface\\\"\" $editorName;\n"
  1134.         + "visor -addFolder -name \"Volume\" -parent \"Create/Materials\" -type defaultNodes -cmd \"listNodeTypes \\\"shader/volume\\\"\" $editorName;\n"
  1135.         + "visor -addFolder -name \"Post Process\" -parent \"Create\" -type defaultNodes -cmd \"postProcessCreateFolder()\" $editorName;\n"
  1136.         + "visor -addFolder -name \"Textures\" -parent \"Create\" -type defaultNodes -cmd \"listNodeTypes texture\" $editorName;\n"
  1137.         + "visor -addFolder -name \"Utilities\" -parent \"Create\"  visorPanel1VisorEd;\n"
  1138.         + "visor -addFolder -name \"Color\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/color\\\"\" $editorName;\n"
  1139.         + "visor -addFolder -name \"General\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/general\\\"\" $editorName;\n"
  1140.         + "visor -addFolder -name \"Particle\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/particle\\\"\" $editorName;\n"
  1141.         + "visor -addFolder -name \"Switch\" -parent \"Create/Utilities\" -type defaultNodes -cmd \"listNodeTypes \\\"utility/switch\\\"\" $editorName;\n"
  1142.         + "visor -addFolder -name \"Project\" -parent \"\" -openDirectories 1 -type directoryCommand -cmd \"currentProjectParentDir()\" $editorName;\n"
  1143.         + "visor -addFolder -name \"Brushes\" -parent \"\" -type shelfItems -cmd \"D:/AW/Maya3.0/brushes\" $editorName;\n"
  1144.         + "visor -rebuild visorPanel1VisorEd;\n"
  1145.         + ";\n"
  1146.         + "        if (!$useSceneConfig) {\n"
  1147.         + "            panel -e -l $label $panelName;\n"
  1148.         + "        }\n"
  1149.         + "    }\n"
  1150.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"polyTexturePlacementPanel\" \"Texture View\"`;\n"
  1151.         + "    if (\"\" == $panelName) {\n"
  1152.         + "        if ($useSceneConfig) {\n"
  1153.         + "            $panelName = `scriptedPanel -unParent  -type \"polyTexturePlacementPanel\" -l \"Texture View\" -mbv $menusOkayInPanels `;\n"
  1154.         + "        }\n"
  1155.         + "    } else {\n"
  1156.         + "        $label = `panel -q -label $panelName`;\n"
  1157.         + "        scriptedPanel -edit -l \"Texture View\" -mbv $menusOkayInPanels  $panelName;\n"
  1158.         + "        if (!$useSceneConfig) {\n"
  1159.         + "            panel -e -l $label $panelName;\n"
  1160.         + "        }\n"
  1161.         + "    }\n"
  1162.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"multiListerPanel\" \"Multilister\"`;\n"
  1163.         + "    if (\"\" == $panelName) {\n"
  1164.         + "        if ($useSceneConfig) {\n"
  1165.         + "            $panelName = `scriptedPanel -unParent  -type \"multiListerPanel\" -l \"Multilister\" -mbv $menusOkayInPanels `;\n"
  1166.         + "        }\n"
  1167.         + "    } else {\n"
  1168.         + "        $label = `panel -q -label $panelName`;\n"
  1169.         + "        scriptedPanel -edit -l \"Multilister\" -mbv $menusOkayInPanels  $panelName;\n"
  1170.         + "        if (!$useSceneConfig) {\n"
  1171.         + "            panel -e -l $label $panelName;\n"
  1172.         + "        }\n"
  1173.         + "    }\n"
  1174.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"renderWindowPanel\" \"Render View\"`;\n"
  1175.         + "    if (\"\" == $panelName) {\n"
  1176.         + "        if ($useSceneConfig) {\n"
  1177.         + "            $panelName = `scriptedPanel -unParent  -type \"renderWindowPanel\" -l \"Render View\" -mbv $menusOkayInPanels `;\n"
  1178.         + "        }\n"
  1179.         + "    } else {\n"
  1180.         + "        $label = `panel -q -label $panelName`;\n"
  1181.         + "        scriptedPanel -edit -l \"Render View\" -mbv $menusOkayInPanels  $panelName;\n"
  1182.         + "        if (!$useSceneConfig) {\n"
  1183.         + "            panel -e -l $label $panelName;\n"
  1184.         + "        }\n"
  1185.         + "    }\n"
  1186.         + "    $panelName = `sceneUIReplacement -getNextPanel \"blendShapePanel\" \"Blend Shape\"`;\n"
  1187.         + "    if (\"\" == $panelName) {\n"
  1188.         + "        if ($useSceneConfig) {\n"
  1189.         + "            blendShapePanel -unParent -l \"Blend Shape\" -mbv $menusOkayInPanels ;\n"
  1190.         + "        }\n"
  1191.         + "    } else {\n"
  1192.         + "        $label = `panel -q -label $panelName`;\n"
  1193.         + "        blendShapePanel -edit -l \"Blend Shape\" -mbv $menusOkayInPanels  $panelName;\n"
  1194.         + "        if (!$useSceneConfig) {\n"
  1195.         + "            panel -e -l $label $panelName;\n"
  1196.         + "        }\n"
  1197.         + "    }\n"
  1198.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"dynRelEdPanel\" \"Dynamic Relationships\"`;\n"
  1199.         + "    if (\"\" == $panelName) {\n"
  1200.         + "        if ($useSceneConfig) {\n"
  1201.         + "            $panelName = `scriptedPanel -unParent  -type \"dynRelEdPanel\" -l \"Dynamic Relationships\" -mbv $menusOkayInPanels `;\n"
  1202.         + "        }\n"
  1203.         + "    } else {\n"
  1204.         + "        $label = `panel -q -label $panelName`;\n"
  1205.         + "        scriptedPanel -edit -l \"Dynamic Relationships\" -mbv $menusOkayInPanels  $panelName;\n"
  1206.         + "        if (!$useSceneConfig) {\n"
  1207.         + "            panel -e -l $label $panelName;\n"
  1208.         + "        }\n"
  1209.         + "    }\n"
  1210.         + "    $panelName = `sceneUIReplacement -getNextPanel \"devicePanel\" \"Devices\"`;\n"
  1211.         + "    if (\"\" == $panelName) {\n"
  1212.         + "        if ($useSceneConfig) {\n"
  1213.         + "            devicePanel -unParent -l \"Devices\" -mbv $menusOkayInPanels ;\n"
  1214.         + "        }\n"
  1215.         + "    } else {\n"
  1216.         + "        $label = `panel -q -label $panelName`;\n"
  1217.         + "        devicePanel -edit -l \"Devices\" -mbv $menusOkayInPanels  $panelName;\n"
  1218.         + "        if (!$useSceneConfig) {\n"
  1219.         + "            panel -e -l $label $panelName;\n"
  1220.         + "        }\n"
  1221.         + "    }\n"
  1222.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"relationshipPanel\" \"Relationship Editor\"`;\n"
  1223.         + "    if (\"\" == $panelName) {\n"
  1224.         + "        if ($useSceneConfig) {\n"
  1225.         + "            $panelName = `scriptedPanel -unParent  -type \"relationshipPanel\" -l \"Relationship Editor\" -mbv $menusOkayInPanels `;\n"
  1226.         + "        }\n"
  1227.         + "    } else {\n"
  1228.         + "        $label = `panel -q -label $panelName`;\n"
  1229.         + "        scriptedPanel -edit -l \"Relationship Editor\" -mbv $menusOkayInPanels  $panelName;\n"
  1230.         + "        if (!$useSceneConfig) {\n"
  1231.         + "            panel -e -l $label $panelName;\n"
  1232.         + "        }\n"
  1233.         + "    }\n"
  1234.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"referenceEditorPanel\" \"Reference Editor\"`;\n"
  1235.         + "    if (\"\" == $panelName) {\n"
  1236.         + "        if ($useSceneConfig) {\n"
  1237.         + "            $panelName = `scriptedPanel -unParent  -type \"referenceEditorPanel\" -l \"Reference Editor\" -mbv $menusOkayInPanels `;\n"
  1238.         + "        }\n"
  1239.         + "    } else {\n"
  1240.         + "        $label = `panel -q -label $panelName`;\n"
  1241.         + "        scriptedPanel -edit -l \"Reference Editor\" -mbv $menusOkayInPanels  $panelName;\n"
  1242.         + "        if (!$useSceneConfig) {\n"
  1243.         + "            panel -e -l $label $panelName;\n"
  1244.         + "        }\n"
  1245.         + "    }\n"
  1246.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"dynPaintScriptedPanelType\" \"Paint Effects\"`;\n"
  1247.         + "    if (\"\" == $panelName) {\n"
  1248.         + "        if ($useSceneConfig) {\n"
  1249.         + "            $panelName = `scriptedPanel -unParent  -type \"dynPaintScriptedPanelType\" -l \"Paint Effects\" -mbv $menusOkayInPanels `;\n"
  1250.         + "        }\n"
  1251.         + "    } else {\n"
  1252.         + "        $label = `panel -q -label $panelName`;\n"
  1253.         + "        scriptedPanel -edit -l \"Paint Effects\" -mbv $menusOkayInPanels  $panelName;\n"
  1254.         + "        if (!$useSceneConfig) {\n"
  1255.         + "            panel -e -l $label $panelName;\n"
  1256.         + "        }\n"
  1257.         + "    }\n"
  1258.         + "    $panelName = `sceneUIReplacement -getNextScriptedPanel \"componentEditorPanel\" \"Component Editor\"`;\n"
  1259.         + "    if (\"\" == $panelName) {\n"
  1260.         + "        if ($useSceneConfig) {\n"
  1261.         + "            $panelName = `scriptedPanel -unParent  -type \"componentEditorPanel\" -l \"Component Editor\" -mbv $menusOkayInPanels `;\n"
  1262.         + "        }\n"
  1263.         + "    } else {\n"
  1264.         + "        $label = `panel -q -label $panelName`;\n"
  1265.         + "        scriptedPanel -edit -l \"Component Editor\" -mbv $menusOkayInPanels  $panelName;\n"
  1266.         + "        if (!$useSceneConfig) {\n"
  1267.         + "            panel -e -l $label $panelName;\n"
  1268.         + "        }\n"
  1269.         + "    }\n"
  1270.         + "    if ($useSceneConfig) {\n"
  1271.         + "        string $configName = `getPanel -cwl \"Current Layout\"`;\n"
  1272.         + "        if (\"\" != $configName) {\n"
  1273.         + "            panelConfiguration -edit -label \"Current Layout\"\n"
  1274.         + "                -sc false\n"
  1275.         + "                -configString \"paneLayout -e -cn \\\"single\\\" -ps 1 100 100 $gMainPane;\"\n"
  1276.         + "                -removeAllPanels\n"
  1277.         + "                -ap true\n"
  1278.         + "                    \"Side View\"\n"
  1279.         + "                    \"modelPanel\"\n"
  1280.         + "                    \"$panelName = `modelPanel -unParent -l \\\"Side View\\\" -mbv $menusOkayInPanels `;\\n$editorName = $panelName;\\nmodelEditor -e \\n    -camera \\\"camera1\\\" \\n    -useInteractiveMode 0\\n    -displayLights \\\"all\\\" \\n    -displayAppearance \\\"smoothShaded\\\" \\n    -activeOnly 0\\n    -wireframeOnShaded 0\\n    -bufferMode \\\"double\\\" \\n    -twoSidedLighting 1\\n    -backfaceCulling 0\\n    -xray 0\\n    -displayTextures 1\\n    -textureMaxSize 1024\\n    -nurbsCurves 1\\n    -nurbsSurfaces 1\\n    -polymeshes 1\\n    -subdivSurfaces 1\\n    -planes 1\\n    -lights 1\\n    -cameras 1\\n    -controlVertices 1\\n    -hulls 1\\n    -grid 1\\n    -joints 1\\n    -ikHandles 1\\n    -deformers 1\\n    -dynamics 1\\n    -locators 1\\n    -dimensions 1\\n    -handles 1\\n    -pivots 1\\n    -textures 1\\n    -strokes 1\\n    $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n"
  1281.         + "                    \"modelPanel -edit -l \\\"Side View\\\" -mbv $menusOkayInPanels  $panelName;\\n$editorName = $panelName;\\nmodelEditor -e \\n    -camera \\\"camera1\\\" \\n    -useInteractiveMode 0\\n    -displayLights \\\"all\\\" \\n    -displayAppearance \\\"smoothShaded\\\" \\n    -activeOnly 0\\n    -wireframeOnShaded 0\\n    -bufferMode \\\"double\\\" \\n    -twoSidedLighting 1\\n    -backfaceCulling 0\\n    -xray 0\\n    -displayTextures 1\\n    -textureMaxSize 1024\\n    -nurbsCurves 1\\n    -nurbsSurfaces 1\\n    -polymeshes 1\\n    -subdivSurfaces 1\\n    -planes 1\\n    -lights 1\\n    -cameras 1\\n    -controlVertices 1\\n    -hulls 1\\n    -grid 1\\n    -joints 1\\n    -ikHandles 1\\n    -deformers 1\\n    -dynamics 1\\n    -locators 1\\n    -dimensions 1\\n    -handles 1\\n    -pivots 1\\n    -textures 1\\n    -strokes 1\\n    $editorName;\\nmodelEditor -e -viewSelected 0 $editorName\"\n"
  1282.         + "                $configName;\n"
  1283.         + "            setNamedPanelLayout \"Current Layout\";\n"
  1284.         + "        }\n"
  1285.         + "        panelHistory -e -clear mainPanelHistory;\n"
  1286.         + "        setFocus `paneLayout -q -p1 $gMainPane`;\n"
  1287.         + "        sceneUIReplacement -deleteRemaining;\n"
  1288.         + "        sceneUIReplacement -clear;\n"
  1289.         + "    }\n"
  1290.         + "    grid -spacing 5cm -size 12cm -divisions 5 -style 3;\n"
  1291.         + "}\n");
  1292.     setAttr ".st" 3;
  1293. createNode script -n "animationScriptNode";
  1294.     setAttr ".a" -type "string" (
  1295.         "playbackOptions -min 1 -max 120 -animationStartTime 1 -animationEndTime 120;");
  1296. createNode reference -n "nurbShipRN";
  1297. createNode motionPath -n "motionPath2";
  1298.     setAttr -l on ".ft";
  1299.     setAttr -l on ".ut";
  1300.     setAttr -l on ".st";
  1301.     setAttr -s 2 ".pmt";
  1302.     setAttr -s 2 ".pmt";
  1303.     setAttr ".f" yes;
  1304.     setAttr ".fa" 2;
  1305.     setAttr ".ua" 1;
  1306.     setAttr ".fm" yes;
  1307. createNode animCurveTL -n "motionPath2_uValue";
  1308.     setAttr ".tan" 9;
  1309.     setAttr ".wgt" no;
  1310.     setAttr -s 2 ".ktv[0:1]"  1 0 120 1;
  1311. createNode addDoubleLinear -n "addDoubleLinear4";
  1312. createNode addDoubleLinear -n "addDoubleLinear5";
  1313. createNode addDoubleLinear -n "addDoubleLinear6";
  1314. createNode imagePlane -n "imagePlane1";
  1315.     setAttr ".imn" -type "string" "background.iff";
  1316.     setAttr ".cov" -type "short2" 640 480 ;
  1317.     setAttr ".dm" 1;
  1318.     setAttr ".d" 500;
  1319.     setAttr ".s" -type "double2" 2.83 1.9 ;
  1320.     setAttr ".c" -type "double3" 3.7860649564078059 -0.061422190205004501 2.9669014175486161 ;
  1321.     setAttr ".w" 30;
  1322.     setAttr ".h" 30;
  1323. createNode animCurveTU -n "imagePlane1_offsetX";
  1324.     setAttr ".tan" 9;
  1325.     setAttr ".wgt" no;
  1326.     setAttr -s 2 ".ktv[0:1]"  1 -0.5 120 0.10000000000000001;
  1327. createNode animCurveTU -n "imagePlane1_offsetY";
  1328.     setAttr ".tan" 9;
  1329.     setAttr ".wgt" no;
  1330.     setAttr -s 2 ".ktv[0:1]"  1 -0.20000000000000001 120 0.10000000000000001;
  1331. createNode opticalFX -n "opticalFX1";
  1332.     setAttr ".gt" 0;
  1333.     setAttr ".ht" 1;
  1334.     setAttr ".lw" -type "matrix" 1 0 0 0 0 1 0 0 0 0 1 0 6.8325860945579393 -2.8692547615794304 4.095931318922176 1;
  1335. createNode animCurveTU -n "opticalFX1_haloIntensity";
  1336.     setAttr ".tan" 9;
  1337.     setAttr ".wgt" no;
  1338.     setAttr -s 3 ".ktv[0:2]"  53 0 63 15 73 0;
  1339. createNode dynGlobals -n "dynGlobals1";
  1340.     setAttr ".upd" yes;
  1341.     setAttr ".cd" -type "string" "projectFour_final";
  1342. createNode motionPath -n "motionPath3";
  1343.     setAttr -l on ".ft";
  1344.     setAttr -l on ".ut";
  1345.     setAttr -l on ".st";
  1346.     setAttr -s 2 ".pmt";
  1347.     setAttr -s 2 ".pmt";
  1348.     setAttr ".f" yes;
  1349.     setAttr ".fa" 2;
  1350.     setAttr ".ua" 1;
  1351.     setAttr ".fm" yes;
  1352. createNode animCurveTL -n "motionPath3_uValue";
  1353.     setAttr ".tan" 9;
  1354.     setAttr ".wgt" no;
  1355.     setAttr -s 2 ".ktv[0:1]"  1 0 120 1;
  1356. createNode addDoubleLinear -n "addDoubleLinear7";
  1357. createNode addDoubleLinear -n "addDoubleLinear8";
  1358. createNode addDoubleLinear -n "addDoubleLinear9";
  1359. select -ne :time1;
  1360.     setAttr ".o" 1;
  1361. select -ne :renderPartition;
  1362.     setAttr -s 7 ".st";
  1363. select -ne :renderGlobalsList1;
  1364. select -ne :defaultShaderList1;
  1365.     setAttr -s 7 ".s";
  1366. select -ne :postProcessList1;
  1367.     setAttr -s 3 ".p";
  1368. select -ne :defaultRenderUtilityList1;
  1369.     setAttr -s 10 ".u";
  1370. select -ne :lightList1;
  1371.     setAttr -s 4 ".l";
  1372.     setAttr -s 3 ".ln";
  1373. select -ne :defaultTextureList1;
  1374.     setAttr -s 9 ".tx";
  1375. select -ne :initialShadingGroup;
  1376.     setAttr -s 4 ".dsm";
  1377.     setAttr ".ro" yes;
  1378. select -ne :initialParticleSE;
  1379.     setAttr ".ro" yes;
  1380. select -ne :defaultRenderGlobals;
  1381.     setAttr ".top" 239;
  1382.     setAttr ".rght" 319;
  1383.     setAttr ".an" yes;
  1384.     setAttr ".fs" 1;
  1385.     setAttr ".ef" 120;
  1386. select -ne :defaultRenderQuality;
  1387.     setAttr ".eaa" 0;
  1388. select -ne :defaultLightSet;
  1389.     setAttr -s 4 ".dsm";
  1390. select -ne :hyperGraphLayout;
  1391.     setAttr ".cch" no;
  1392.     setAttr ".ihi" 2;
  1393.     setAttr ".nds" 0;
  1394.     setAttr -s 3 ".hyp";
  1395.     setAttr ".hyp[0].isc" no;
  1396.     setAttr ".hyp[0].isf" no;
  1397.     setAttr ".hyp[1].isc" no;
  1398.     setAttr ".hyp[1].isf" no;
  1399.     setAttr ".hyp[2].isc" no;
  1400.     setAttr ".hyp[2].isf" no;
  1401.     setAttr ".img" -type "string" "";
  1402.     setAttr ".ims" 1;
  1403. parent -s -nc -r "polyShip_polyShip" "polyShipAnim";
  1404. select -ne polyShip_directionalLight1;
  1405.     setAttr ".v" no;
  1406. select -ne polyShip_ambientLight1;
  1407.     setAttr ".v" no;
  1408. select -ne polyShip_polyShip;
  1409.     setAttr ".t" -type "double3" 0 0 0 ;
  1410.     setAttr ".r" -type "double3" 0 0 0 ;
  1411.     setAttr ".s" -type "double3" 6.0827236648715548 6.0827236648715548 9.6349032385792768 ;
  1412. select -ne nurbShip_nurbship;
  1413.     setAttr ".s" -type "double3" 0.15 0.15 0.15 ;
  1414. select -ne nurbShip_directionalLight1;
  1415.     setAttr ".v" no;
  1416. connectAttr "addDoubleLinear5.o" "nurbShip_nurbship.ty";
  1417. connectAttr "addDoubleLinear4.o" "nurbShip_nurbship.tx";
  1418. connectAttr "addDoubleLinear6.o" "nurbShip_nurbship.tz";
  1419. connectAttr "motionPath2.rx" "nurbShip_nurbship.rx";
  1420. connectAttr "motionPath2.ry" "nurbShip_nurbship.ry";
  1421. connectAttr "motionPath2.rz" "nurbShip_nurbship.rz";
  1422. connectAttr "motionPath2.ro" "nurbShip_nurbship.ro";
  1423. connectAttr "imagePlane1.msg" "cameraShape1.ip" -na;
  1424. connectAttr "addDoubleLinear7.o" "polyShipAnim.tx";
  1425. connectAttr "addDoubleLinear8.o" "polyShipAnim.ty";
  1426. connectAttr "addDoubleLinear9.o" "polyShipAnim.tz";
  1427. connectAttr "motionPath3.rx" "polyShipAnim.rx";
  1428. connectAttr "motionPath3.ry" "polyShipAnim.ry";
  1429. connectAttr "motionPath3.rz" "polyShipAnim.rz";
  1430. connectAttr "motionPath3.ro" "polyShipAnim.ro";
  1431. connectAttr ":defaultLightSet.msg" "lightLinker1.lnk[0].llnk";
  1432. connectAttr ":initialShadingGroup.msg" "lightLinker1.lnk[0].olnk";
  1433. connectAttr ":defaultLightSet.msg" "lightLinker1.lnk[1].llnk";
  1434. connectAttr ":initialParticleSE.msg" "lightLinker1.lnk[1].olnk";
  1435. connectAttr "layerManager.dli[0]" "defaultLayer.id";
  1436. connectAttr "renderLayerManager.rlmi[0]" "defaultRenderLayer.rlid";
  1437. connectAttr "motionPath2_uValue.o" "motionPath2.u";
  1438. connectAttr "curveShape2.ws" "motionPath2.gp";
  1439. connectAttr "positionMarkerShape3.t" "motionPath2.pmt[0]";
  1440. connectAttr "positionMarkerShape4.t" "motionPath2.pmt[1]";
  1441. connectAttr "nurbShip_nurbship.tmrx" "addDoubleLinear4.i1";
  1442. connectAttr "motionPath2.xc" "addDoubleLinear4.i2";
  1443. connectAttr "nurbShip_nurbship.tmry" "addDoubleLinear5.i1";
  1444. connectAttr "motionPath2.yc" "addDoubleLinear5.i2";
  1445. connectAttr "nurbShip_nurbship.tmrz" "addDoubleLinear6.i1";
  1446. connectAttr "motionPath2.zc" "addDoubleLinear6.i2";
  1447. connectAttr "imagePlane1_offsetX.o" "imagePlane1.ox";
  1448. connectAttr "imagePlane1_offsetY.o" "imagePlane1.oy";
  1449. connectAttr "opticalFX1_haloIntensity.o" "opticalFX1.hi";
  1450. connectAttr "motionPath3_uValue.o" "motionPath3.u";
  1451. connectAttr "curveShape1.ws" "motionPath3.gp";
  1452. connectAttr "positionMarkerShape5.t" "motionPath3.pmt[0]";
  1453. connectAttr "positionMarkerShape6.t" "motionPath3.pmt[1]";
  1454. connectAttr "polyShipAnim.tmrx" "addDoubleLinear7.i1";
  1455. connectAttr "motionPath3.xc" "addDoubleLinear7.i2";
  1456. connectAttr "polyShipAnim.tmry" "addDoubleLinear8.i1";
  1457. connectAttr "motionPath3.yc" "addDoubleLinear8.i2";
  1458. connectAttr "polyShipAnim.tmrz" "addDoubleLinear9.i1";
  1459. connectAttr "motionPath3.zc" "addDoubleLinear9.i2";
  1460. connectAttr "opticalFX1.msg" ":postProcessList1.p" -na;
  1461. connectAttr "lightLinker1.msg" ":lightList1.ln" -na;
  1462. connectAttr "directionalLightShape1.ltd" ":lightList1.l" -na;
  1463. connectAttr "directionalLight1.iog" ":defaultLightSet.dsm" -na;
  1464. // End of lesson15_start.ma
  1465.