Returns or changes how often the document will be saved when Rhino's automatic file saving mechanism is enabled.
rhinoscriptsyntax.AutosaveInterval (minutes=None)
rhinoscript.application.AutosaveInterval (minutes=None)
minutes |
Optional. Number. The number of minutes between saves. |
Number |
If an interval is not specified, the current interval in minutes if successful. |
Number |
If an interval is specified, the previous interval in minutes if successful. |
import rhinoscriptsyntax as rs
minutes = rs.AutosaveInterval()
if minutes>20: rs.AutosaveInterval(20)