重启max

FN ResetMax =
(
local IsReset = false
if checkForSave() do 
(
shellLaunch (getdir #maxroot+"\3dsmax.exe") (maxfilepath+maxfilename)
IsReset = true
)
IF IsReset do quitmax #noPrompt
)
ResetMax()
原文地址:https://www.cnblogs.com/humd/p/12110020.html