Share

GeneralPreferences.isAutomaticSaveOnCloseEnabled Property

Parent Object: GeneralPreferences
Defined in namespace "adsk::core" and the header file is <Core/Application/GeneralPreferences.h>

Description

Gets and sets if the file is automatically saved on close.

Syntax

"generalPreferences_var" is a variable referencing a GeneralPreferences object.

# Get the value of the property.
propertyValue = generalPreferences_var.isAutomaticSaveOnCloseEnabled

# Set the value of the property.
generalPreferences_var.isAutomaticSaveOnCloseEnabled = propertyValue

Property Value

This is a read/write property whose value is a boolean.

Version

Introduced in version August 2014

Was this information helpful?