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

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