上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 49 下一页
摘要: /*globalMove01.sx = globalMove01.sz = globalMove01sy; lock and hide selected ScaleX ScaleZmodel显示template其余的只显示visibility其他的全部lock and hide selected*///groupgroup -em -name "charNode01";group -em -nam... 阅读全文
posted @ 2012-06-05 08:19 XE2011 阅读(161) 评论(0) 推荐(0)
摘要: string $sel[]=`ls -sl`;print("选中"+ size($sel) +"个物体");通过 Wiz 发布 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(144) 评论(0) 推荐(0)
摘要: // create joint int $count=10;//创建骨骼数量for($i=0;$i<$count;$i++){ //创建joint joint -p 0 0 $i -name joint1;} //修改radius大小 select -r |joint1 ; select -hi;通过 Wiz 发布 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(132) 评论(0) 推荐(0)
摘要: :convertfile@IF %1 == "" GOTO endimf_copy -p %1 "%~d1%~p1%~n1.map"@SHIFT@GOTO convertfile:end@ECHO.@ECHO Done!@pause通过 Wiz 发布 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(95) 评论(0) 推荐(0)
摘要: window -t "" mywnd;columnLayout -adj 1;button -l "Deselect" -command "delselect";button -l "randY" -command "randy";proc delselect()//在所选中的物体中取消选中一些物体{ string $sel[]=`ls -sl`; for($i=0;$i<size($sel);$... 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(145) 评论(0) 推荐(0)
摘要: //////////////////////////////////////////////////////////////////////////////////////////////////// //// Rock Generator2.5 ... 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(259) 评论(0) 推荐(0)
摘要: global proc playBlastWin(){if (`window -ex playBlastWin`)deleteUI playBlastWin;window -t "拍屏窗口 beta 0.1" playBlastWin;columnLayout -enable 1 -cw 300 -h 200 -adj 1 -columnAlign "left" mainCol;textField... 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(378) 评论(0) 推荐(0)
摘要: /*ParentShapes粘贴要被parent的物体*/string $promptDialogWnd = ` promptDialog -b "Go" -m "Parent It"`;//-b -buttonstring $sel[] = ` ls -sl `;//ls list -sl -seletionfor( $shapes in $sel ){ string $lsRelatives[... 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(107) 评论(0) 推荐(0)
摘要: // 物体随机排列; // by居燕虹 2004.3global proc objectRand(){string $selectObject[]=`ls-sl`;int$amount=size($selectObject) ;if($amount==0) error"Please select the object ";if(`window-exists objectRand`) { delet... 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(246) 评论(0) 推荐(0)
摘要: //maya批量命名(如果对同一个物体多次操作相同的名称返回值会出现问题)string $ResultValue =`promptDialog -title "批量重命名" -message "输入名称" -button "Ok" -button"Cancel" -defaultButton"Ok"`;string $textResponse = `promptDialog -q`;//以下是重命... 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(547) 评论(0) 推荐(0)
摘要: //KeySelected 快捷键建议用astring $myObjects[]=`ls -sl`;string $myAttr[]=`channelBox -q -sma mainChannelBox`;for($myNode in $myObjects){for($myNodeAttr in $myAttr){ setKeyframe($myNode+"."+$myNodeAttr);}}/*... 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(131) 评论(0) 推荐(0)
摘要: //randomstring $sel[]=`ls-sl`;for($i=0;$i<size($sel);$i++){ float$y=rand(0,1); setAttr ($sel[$i]+".translateY") $y;} //对所中的物体 随机选中一些物体通过 Wiz 发布 阅读全文
posted @ 2012-06-05 08:18 XE2011 阅读(126) 评论(0) 推荐(0)
摘要: #include <conio.h>void main(void) { int i, j; window(1, 1, 40, 12); for (i = 0; i < 15; i++) { for (j = 0; j < 50; j++) cprintf("%d", j); cprintf("\r\n"); } }通过 Wiz 发布 阅读全文
posted @ 2012-06-04 12:30 XE2011 阅读(88) 评论(0) 推荐(0)
摘要: #include <stdio.h>void main(void) { char *workdays[] = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "" }; char **work_day; work_day = workdays; while (*work_day) printf("%s\n", *work_day+... 阅读全文
posted @ 2012-06-04 12:30 XE2011 阅读(136) 评论(0) 推荐(0)
摘要: #include <stdio.h>#include <dos.h>#include <string.h>// Note: If you want to use XMS function 0xB, this simple // xms_access routine only works for tiny, small, or medium // models where the value of ... 阅读全文
posted @ 2012-06-04 12:30 XE2011 阅读(152) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 49 下一页