Notifications
Clear all
[Closed] Save Version Up and Rest
Jul 31, 2019 4:16 am
Hey
i want to create 2 buttons .
one the saves a new version every time and another one that dose the same but also resets the scene .
thanks
D
1 Reply
Jul 31, 2019 4:16 am
(
-- "search the net for proper code of how to increment the file name"
newFileName = (getFileNameFile maxFileName) + "_" + (timestamp() as string) + ".max"
saveMaxFile (maxFilePath + newFileName) clearNeedSaveFlag:true useNewFile:true quiet:true
-- "uncomment to reset the scene"
-- resetMaxFile #noPrompt
)