Returns or changes the file name used by Rhino's automatic file saving mechanism.
rhinoscriptsyntax.AutosaveFile (filename=None)
rhinoscript.application.AutosaveFile (filename=None)
filename |
Optional. String. The name of the new autosave file. |
String |
If an autosave file is not specified, the name of the current autosave file if successful. |
String |
If an autosave file is specified, the name of the previous autosave file if successful. |
import rhinoscriptsyntax as rs
file = rs.AutosaveFile()
print "The current autosave file is", file