摘要:-- 拆架子-- 把随机数组中的 某些项 转到另外的数组, aSui =#("好好","效果","忠诚","信用","忠贞","姓名")iRao = random 1 (aSui.count)aKou =#()for i in iRao to 1 by -1 do ( append aKou aSui[i] deleteItem aSui i)format "进行局部收集的选项: % \n" aKou format "这个是删除后剩余的项: %\
阅读全文
摘要:--- 模拟对序列的从排列 --- 这个是很有用的, 如当晚传入一个数组的时候 里面就行了变化aEge = #("永超","小江","长虹","海格尔","厦门","中国","")--iIn = aNmar.count --- 设计从新排列3 ci --- 进行随机的从排列 -- 对于一些需要变化的值是非常有用的, 我可以对从拍的在进行随机的 选择 配置--- 设计用于从新排列 3 此---因为字符串所以只一个地址所以这里 --- 为了进行排列我们 在最后
阅读全文
摘要:struct dd(fn i =(delete $VoxelBox*try(GT_script_path_work (getSourceFileName()))catch()rbmp = render outputsize:[32,32] channels:#(#zdepth) vfb:off-- rbmp = render outputsize: [60 , 60 ] channels:#(#zdepth) vfb:offz_d = getchannelasmask rbmp #zdepth-- 解析他的通道 -- z_d = getchannelasmask rbmp #zdepthpro
阅读全文
摘要:global GetBoneArraystruct GetBoneArray (RootBone=#(),fn selRootBone =(sel_Array=selection as Arrayfor sel_obj in sel_Array where findItem sel_Array (sel_obj.parent)==0 do append RootBone sel_obj select RootBone),fn getChildren theNode =(nodeArray = #()for obj in theNode.children do(append nodeArray
阅读全文
摘要:-- 看着这个很专业 try(GT_script_path_work (getSourceFileName()))catch()struct outfile (output_name,fn p =(output_name = getSaveFileName caption:"SpeedSheet File" types:"SpeedSheet (*.ssh)|*.ssh|All Files (*.*)|*.*|" if output_name != undefined then ( -- 数据之间做输出写出来 --print (output_name +
阅读全文