CGGang 討論版
CGGang 討論版
九月 07, 2010, 06:37:48 上午 *
歡迎光臨, 訪客. 請先 登入註冊一個帳號.
您忘了 啟用您的帳號嗎?

請輸入帳號, 密碼以及預計登入時間
新聞: SMF - Just Installed
 
   首頁   說明 搜尋 日曆 登入 註冊 註冊 Gallery 分類  
頁: [1]
  列印  
作者 主題: 如何移除遺失的 max plugin 錯誤訊息  (閱讀 858 次)
SaiZyca
Administrator
Hero Member
*****
文章: 1348



檢視個人資料
« 於: 四月 02, 2010, 05:34:37 下午 »

原噗 啊嗚~~

不知道有沒有人遇過在3DS max裡面,因為用過某外掛,後來該外掛砍掉不用了,可是那個max檔每次開啟都會跳出Missing Dll的錯誤警告,不管怎麼清該檔案,都找不到資訊在哪? (因為外掛已經殺掉了)。有人知道怎麼清掉這個資訊嗎?


因為是在噗浪上的討論...所以只好保留 html 了....

已記錄

noflame
創始成員
Sr. Member
***
文章: 404



檢視個人資料 電子郵件
« 回覆文章 #1 於: 四月 02, 2010, 09:51:29 下午 »

最後手段完整版:

fn pressYes =
(
   Hl2 = DialogMonitorOPS.GetWindowHandle()   
   UIAccessor.PressButtonByName Hl2 "&Yes"
   true   
)


DialogMonitorOPS.Enabled = true
DialogMonitorOPS.RegisterNotification pressYes id:#press_Yes
global thefile= maxfilePath + maxFilename
holdMaxFile()
resetMaxfile()
mergeMAXFile (pathConfig.GetDir #autoback + "\\" + "maxhold.mx" ) quiet:true
saveMaxfile theFile   

DialogMonitorOPS.unRegisterNotification id:#press_Yes
DialogMonitorOPS.Enabled = false
gw.updateScreen()
thefile = undefined
gc()
« 最後編輯時間: 四月 26, 2010, 06:41:59 下午 由 noflame » 已記錄
SaiZyca
Administrator
Hero Member
*****
文章: 1348



檢視個人資料
« 回覆文章 #2 於: 四月 26, 2010, 04:28:53 下午 »

筆記一下...因為拿到檔案了....要修 rabb_025
批次修...寫得很陽春...因為我還沒寫完aomay 就修完了...證明有些事情手動比較快.... rabb_006

for u = 1 to 9 do
(
i = u as string
loadMaxFile ("D:\1_Work\SOC\Monster\cs_monster_00"+i+"\cs_monster_00"+i+"_motion.max") quiet:true useFileUnits:true
deleteItem meditMaterials.custAttributes 1
max tool zoomextents all
saveMaxFile ("D:\1_Work\SOC\Monster\cs_monster_00"+i+"\cs_monster_00"+i+"_motion"+"_fix"+".max")
)
已記錄

noflame
創始成員
Sr. Member
***
文章: 404



檢視個人資料 電子郵件
« 回覆文章 #3 於: 四月 26, 2010, 06:43:19 下午 »

if you need to do some thing with a lot of max file.
my recommand is use Paul's Batch It MAX.
« 最後編輯時間: 四月 26, 2010, 09:39:29 下午 由 noflame » 已記錄
SaiZyca
Administrator
Hero Member
*****
文章: 1348



檢視個人資料
« 回覆文章 #4 於: 四月 27, 2010, 10:16:28 上午 »

In this case,the files isn't in a folder,they separated with many different folders and one folder has 4 version max file,
I just need fix one of them.
已記錄

noflame
創始成員
Sr. Member
***
文章: 404



檢視個人資料 電子郵件
« 回覆文章 #5 於: 四月 30, 2010, 10:57:56 上午 »

Paul's Batch it MAX can find out all max file in the folder you assign.
then you can select what max file you want to execute with what maxscript file.

So~ if you use Batch it MAX. There only need one command line
引用
deleteItem meditMaterials.custAttributes 1
The tool will take care open file, save file...etc.

really handy.
已記錄
maxscript 
頁: [1]
  列印  
 
前往:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!