摘要:theClasses = exporterPlugin.classes可导出的类型exportFile (GetDir #scene + "/exportTest" ) using:theClasses[1] 我们导出的什么位置,并用那个类型进行导出exportFile (file) using:NeoX_Mesh_Export 这种情况就是直接索引类的名字进行导出操作。
阅读全文
摘要:maxFileNamemaxFilePath
阅读全文
摘要:Language Reserved Keywords
阅读全文
摘要:fn getEnvironmentPaths =(dosCommand "path >enddv.txt" -----在max 目录中创建一个文件 --- 并自动的处理文件的名字path_array = #() in_text = openfile "enddv.txt" --打开这个文件 进行处理skipToString in_text "=" ----再来在数组中就去掉了等号,这个看似很好,--skiotistring skipToString in_text "c" --语法用法, 打开文件中是一个整个
阅读全文
摘要:for i in 1 to 2000 do( if i >20 then (for oo in 500 to 520 do( print oo )Loop Exit)print i)
阅读全文
摘要:openFile <filename_string> [ mode:<mode_string> ] 语法 语法默认是,rt - read-only text - file must exist 只读文件,文件必须存在。这个是关键点。r - read-only text - file must exist 只读文件 文件必须存在。rb - read-only binary - file must exist 只读二进制文件,文件必须存在。r+ - read/write text - file must exist 读写文件 文件必须存在a - write-only tex
阅读全文
摘要:createFile <filename_string>
阅读全文
摘要:file="g:\\subdir1\\subdir2\\myImage.jpg""g:\subdir1\subdir2\myImage.jpg"filenameFromPath file -- returns: "myImage.jpg""myImage.jpg"getFilenamePath file -- returns: "g:\subdir1\subdir2\""g:\subdir1\subdir2\"getFilenameFile file -- returns:
阅读全文
摘要:thePath = getSavePath() --get a path dialog to specify the pathif thePath != undefined do --if the user did not cancel(theFiles = getFiles (thePath+"\\*.max") --collect all max files in the dir.for f in theFiles do --go through all of them(loadMaxFile f --load the next file----------------
阅读全文
摘要:http://www.21nave.com/vebo/index.php?r=playlist/view/28
阅读全文