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W}@O{$ Owner4Owner of the Encapsulator$h( ,% (XFҦV(XFҦV"LE2Data$LE2 Data for node >g'JNjn*p"-% -1OSM n-1OSM n"LayoutLayout 럆L<_ї"/% z@Hoz@Ho Control InTransitionIn?% (XFҦV>g'JNjn*pF DCa@@R@?-1OSM n 럆L<_їDefaultOˁ CRih[(m(LActivity.Run('%THIS_NAME%' + "/doIt")hideUnhideZ`Ez]UOz@Ho, 48@J g'JNjn*p(<% ceZU@䑧rceZU@䑧r$_scriptData*Internal Script data [җJs@ %8=% 4W}@O{$0% >% (XFҦVLE2Data, 1#?% z@Ho/% A% MT^RwL~YYTMT^RwL~YYTޢLE2Data$LE2 Data for node >g'JNjn*pLE2Data, 2 B% J@#QLJ@#QLLE2Data$LE2 Data for node >g'JNjn*pLE2Data, 30C% -1OSM n# 2|=Bynj2AEHM'>g'JNjn*pnBC`@0@2|=Bynj|?z@Hoۙ>?ceZU@䑧r[җJs@ Z&NewCommand%function updateScale(myScale, thepath) { myMatrix = System.CreateDO("Math Package/Matrix Float Data"); myMatrix.LoadIdentity(); myMatrix.SetScaleX(myScale); myMatrix.SetScaleY(myScale); myMatrix.SetScaleZ(myScale); System.Trace(thepath); System.Trace(myScale); // 2D translate triangles if(Node.Exists(thepath + "/Triangles/TriangleXY/Triangle")) Node.Value(thepath + "/Triangles/TriangleXY/Triangle","OwnerMatrix") = myMatrix; if(Node.Exists(thepath + "/Triangles/TriangleXZ/Triangle")) Node.Value(thepath + "/Triangles/TriangleXZ/Triangle","OwnerMatrix") = myMatrix; if(Node.Exists(thepath + "/Triangles/TriangleYZ/Triangle")) Node.Value(thepath + "/Triangles/TriangleYZ/Triangle","OwnerMatrix") = myMatrix; // 1D translate bars if(Node.Exists(thepath + "/Bars/BarX/Cylinder")) Node.Value(thepath + "/Bars/BarX/Cylinder","OwnerMatrix") = myMatrix; if(Node.Exists(thepath + "/Bars/BarY/Cylinder")) Node.Value(thepath + "/Bars/BarY/Cylinder","OwnerMatrix") = myMatrix; if(Node.Exists(thepath + "/Bars/BarZ/Cylinder")) Node.Value(thepath + "/Bars/BarZ/Cylinder","OwnerMatrix") = myMatrix; // scale boxes if(Node.Exists(thepath + "/Boxes/BoxX/Cube")) Node.Value(thepath + "/Boxes/BoxX/Cube","OwnerMatrix") = myMatrix; if(Node.Exists(thepath + "/Boxes/BoxY/Cube")) Node.Value(thepath + "/Boxes/BoxY/Cube","OwnerMatrix") = myMatrix; if(Node.Exists(thepath + "/Boxes/BoxZ/Cube")) Node.Value(thepath + "/Boxes/BoxZ/Cube","OwnerMatrix") = myMatrix; // central sphere if(Node.Exists(thepath + "/Close/Sphere")) Node.Value(thepath + "/Close/Sphere","OwnerMatrix") = myMatrix; // custom rotation arcs if(Node.Exists(thepath + "/Arcs/RotX/arc")) Node.Value(thepath + "/Arcs/RotX/arc","OwnerMatrix") = myMatrix; if(Node.Exists(thepath + "/Arcs/RotY/arc")) Node.Value(thepath + "/Arcs/RotY/arc","OwnerMatrix") = myMatrix; if(Node.Exists(thepath + "/Arcs/RotZ/arc")) Node.Value(thepath + "/Arcs/RotZ/arc","OwnerMatrix") = myMatrix; } // Execute // Called to execute the command function Execute(params) { // TODO: put your action code here peWidgetPath = "/Widgets/Edit"; // TODO: put your action code here thisname = System.ThisName(); owner = System.ThisOwner(); myMatrix = System.CreateDO("Math Package/Matrix Float Data"); //get current state of visibility //process default PE node state = Node.Value("/Preferences/Desktop", "_Widgets_Edit_Point edit widget"); System.Trace(state); if(state==0) Node.Value("/Preferences/Desktop", "_Widgets_Edit_Point edit widget") = -1;//make visible else Node.Value("/Preferences/Desktop", "_Widgets_Edit_Point edit widget") = 0;//make invisible //custom node processing if(Node.Exists(peWidgetPath + "/CR def Point edit widget")) { //check for widget scale storage node if(!Node.Exists(peWidgetPath + "/customScale")) { temp = Node.Copy(owner + "/customScale",peWidgetPath); Node.Value(temp,"scale") = 999; } //update from custom widget if 999 //nodeScale = Node.Value(peWidgetPath + "/customScale", "scale"); //if(nodeScale==999) //{ myMatrix = Node.Value(peWidgetPath + "/CR def Point edit widget/Bars/BarX/Cylinder","OwnerMatrix"); nodeScale = myMatrix.GetScaleX(); System.Trace(nodeScale); if(nodeScale!=0) Node.Value(peWidgetPath + "/customScale", "scale") = nodeScale; //} //currently visible //if(state != 0) //{ //scaleValue = 0; //System.Trace("zero scale"); //} nodeScale = Node.Value(peWidgetPath + "/customScale", "scale"); //currently invisible if(state == 0) { scaleValue = nodeScale; System.Trace("scale"); } else { scaleValue = 0; System.Trace("zero"); } System.Trace(scaleValue); //do it if valid scale is saved if(nodeScale!=999 && nodeScale!=0) { //get list of PE widgets //newlist = System.CreateDO('Common Data Package/String Enum Data'); //newlist.Clear(); //get potential list numNodes = Node.SubObjectCount(peWidgetPath); //j = 0; for(i=0;i<numNodes;i++) { curNode = Node.SubObject(peWidgetPath,i);//get short name if(Node.Exists(peWidgetPath + "/" + curNode + "/Activation/Automatic activation node")) { //make sure only one node to match pe widget tempCount = Node.SubObjectCount(peWidgetPath + "/" + curNode + "/Activation"); if(tempCount==1) { //newlist.SetStringAt(j,curNode);//add to the list //newlist.SetSelectedString(curNode);//make this the current selection //j++; //if not default node update scale if possible if(curNode != "Point edit widget") updateScale(scaleValue, peWidgetPath + "/" + curNode); } } } } } } NScript Object Package/jScript languageP: 54W}@O{(XFҦV>g'JNjn*pnClBb@@P@2|=Bynj|?z@Hoۙ>?J@#QL>g'JNjn*pnBB`@T@2|=Bynj|?z@Hoۙ>?-1OSM n 럆L<_ї˂ControlOˁ CRih[ Cq 8Activity.Run('%THIS_NAME%') StartZ`Ez]UOOˁ CRih[ 0 Cq:Activity.Stop('%THIS_NAME%') StopZ`Ez]UOMT^RwL~YYT>g'JNjn*pnCB`@0@2|=Bynj|?z@Hoۙ>?z@Ho48@J g'JNjn*pnBC`@0@2|=Bynj|?z@Hoۙ>?ceZU@䑧r[җJs@ NewCommand*// Execute // Called to execute the command function Execute(params) { // TODO: put your action code here // params.ConValue("scale") = ... } NScript Object Package/jScript languagenumber scale'Ց5w K/w#['Ց5w K/w#[4W}@O{(XFҦV>g'JNjn*pnDICb@@P@2|=Bynj|?z@Hoۙ>?J@#QL>g'JNjn*pnBB`@T@2|=Bynj|?z@Hoۙ>?-1OSM n 럆L<_ї˂ControlOˁ CRih[ Cq 8Activity.Run('%THIS_NAME%') StartZ`Ez]UOOˁ CRih[ 0 Cq:Activity.Stop('%THIS_NAME%') StopZ`Ez]UOMT^RwL~YYT>g'JNjn*pnCB`@0@2|=Bynj|?z@Hoۙ>?z@Ho8ʯȥJH|o7 gH]kDwP@\`d8pM*#ͺOY\2/tfѭ8Lwb"q>U