摘要: 手动设置关联: WIN+R,输入 regedit ,定位到:计算机\HKEY_CLASSES_ROOT\3dsmax\Shell\Open将open下的Command值设置为你想要打开的exe文件:将open的文字改成便于识别的文字: 你还可以这样扩展,照猫画虎再建立一个: 阅读全文
posted @ 2019-12-27 23:54 HU_M 阅读(476) 评论(0) 推荐(0) 编辑
摘要: startTime = (dotNetClass "System.DateTime").Now max quick render endTime = (dotNetClass "System.DateTime").Now ts = endTime.Subtract startTime useSeco 阅读全文
posted @ 2019-12-27 23:51 HU_M 阅读(375) 评论(0) 推荐(0) 编辑
摘要: try destroydialog biaoti catch() rollout biaoti "" ( local mousedd = false local thepos = [0,0] activeXControl ax "https://www.baidu.com/" width:950 h 阅读全文
posted @ 2019-12-27 23:48 HU_M 阅读(428) 评论(0) 推荐(0) 编辑
摘要: for d in getDirectories "E:\\A" do for f in getFiles (d + "*.*") do copyFile f ("E:\\B\\"+ getFilenameFile f + getFilenameType f) --复制E盘A文件夹下所有到E盘B文件夹 阅读全文
posted @ 2019-12-27 23:45 HU_M 阅读(196) 评论(0) 推荐(0) 编辑
摘要: ( target=pickobject() if target!=undefined do ( fn yeye o= ( if o.parent==undefined then return o else ( yeye o.parent ) ) ye=yeye target try(setGroup 阅读全文
posted @ 2019-12-27 23:44 HU_M 阅读(156) 评论(0) 推荐(0) 编辑
摘要: callbacks.removeScripts #systemPostNew id:#setid callbacks.addScript #systemPostNew "function()" id:#setid --仅重置3D之后执行 callbacks.removeScripts #system 阅读全文
posted @ 2019-12-27 23:43 HU_M 阅读(186) 评论(0) 推荐(0) 编辑
摘要: versionnow = (MAXVERSION())[1]/1000+1998 --MAX版本 fn getRendererVersion = --VR版本 ( try ( rendererVer=classOf renderers.current as string renderVerArr=f 阅读全文
posted @ 2019-12-27 23:42 HU_M 阅读(178) 评论(0) 推荐(0) 编辑
摘要: actionMan.loadKeyboardFile "KbdFile.kbd" --这将从当前的目录中加载命名的键盘文件 actionMan.saveKeyboardFile "KbdFile.kbd" --将当前键盘配置到给定的文件名保存的目录中 actionMan.getKeyboardFil 阅读全文
posted @ 2019-12-27 23:39 HU_M 阅读(533) 评论(0) 推荐(0) 编辑
摘要: try DestroyDialog Hello catch() rollout HIHI "HIHI" ( ) rollout Hello "Hello" ( button aa "测试" on aa pressed do ( createdialog HIHI 200 200 xy = GetDi 阅读全文
posted @ 2019-12-27 23:38 HU_M 阅读(179) 评论(0) 推荐(0) 编辑
摘要: try (destroyDialog cytool) Catch () global cytool,minicytool rollout minicytool "test" width:190 height:150 ( local wa = (GetDialogSize cytool).x loca 阅读全文
posted @ 2019-12-27 23:24 HU_M 阅读(184) 评论(0) 推荐(0) 编辑
摘要: -- try(cui.UnRegisterDialogBar Hello)catch() try DestroyDialog Hello catch() rollout Hello "HI" ( button bt1 "按钮" width:100 height:50 pos:[0,0] on bt1 阅读全文
posted @ 2019-12-27 23:23 HU_M 阅读(169) 评论(0) 推荐(0) 编辑
摘要: rollout unnamedRollout "锁定解锁" width:160 height:88 ( button btn1 "锁定" pos:[8,8] width:144 height:32 button btn2 "解锁" pos:[8,48] width:144 height:32 on 阅读全文
posted @ 2019-12-27 23:17 HU_M 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1. MessageBox "提示信息" title:"标题" --对话框显示 2. queryBox "提示信息" title:"标题" --对话框显示 3. yesnocancelbox "提示信息" title:"标题" --对话框显示 4_1. pushprompt "提示信息" --状态栏 阅读全文
posted @ 2019-12-27 23:16 HU_M 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Fn GetMutiOpenFileName Title:"Select Files" FileFilter:"All Files (*.*)|*.*" = ( local OpenFileDialog,OpenFileResult OpenFileDialog = DotNetObject "Sy 阅读全文
posted @ 2019-12-27 23:15 HU_M 阅读(232) 评论(0) 推荐(0) 编辑
摘要: global copy_wir_col = true -- 吸取线框颜色 global copy_mat = true -- 吸取材质 global copy_name = true -- 吸取名字 global copy_modify = true -- 吸取修改器 global copy_lay 阅读全文
posted @ 2019-12-27 23:14 HU_M 阅读(180) 评论(0) 推荐(0) 编辑
摘要: FN ResetMax = ( local IsReset = false if checkForSave() do ( shellLaunch (getdir #maxroot+"\\3dsmax.exe") (maxfilepath+maxfilename) IsReset = true ) I 阅读全文
posted @ 2019-12-27 23:13 HU_M 阅读(139) 评论(0) 推荐(0) 编辑
摘要: try (cui.unregisterDialogBar test) catch() try (destroyDialog test) catch() rollout test "左右停靠" width:168 height:90 ( button dockL "DockL" pos:[8,8] w 阅读全文
posted @ 2019-12-27 23:06 HU_M 阅读(182) 评论(0) 推荐(0) 编辑