PDA

View Full Version : How to Calculation Save file Time ?


su37
06-05-2011, 01:31 AM
Hi,all,I have a question
How to Calculation Save file Time ?

jonahhawk
06-05-2011, 09:54 AM
As in, how long it takes to save a file? Look up General Event Callbacks then #filepresave and #filepostsave

http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012//files/GUID-C1F6495F-5831-4FC8-A00C-667C5F2EAE3-2063.htm

su37
06-06-2011, 04:21 AM
can you give an example ? I do not quite understand.

floopyb
06-06-2011, 04:39 AM
Straight from the help (almost ;))
start = timeStamp()
saveMaxFile (maxfilepath+maxfilename)
end = timeStamp()
format "Processing took % seconds\n" ((end - start) / 1000.0)

su37
06-07-2011, 12:04 PM
Thanks floopyb !!! :bowdown: :bowdown:

CGTalk Moderation
06-07-2011, 12:04 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.