SAVEDOCUMENTFLAGS

Detailed Description

Flags for saving documents.

See also
SaveDocument()

Enumerations

enum class  SAVEDOCUMENTFLAGS {
  NONE ,
  DIALOGSALLOWED ,
  SAVEAS ,
  DONTADDTORECENTLIST ,
  AUTOSAVE ,
  SAVECACHES ,
  EXPORTDIALOG ,
  CRASHSITUATION ,
  NO_SHADERCACHE
}
 

Functions

enum SAVEDOCUMENTFLAGS MAXON_ENUM_FLAGS (SAVEDOCUMENTFLAGS)
 

Enumeration Type Documentation

◆ SAVEDOCUMENTFLAGS

enum SAVEDOCUMENTFLAGS
strong
Enumerator
NONE 

None.

DIALOGSALLOWED 

Flag to inform that a dialog can be displayed. If this flag not set then no dialogs must be opened.

SAVEAS 

Forces a "Save As" and opens the file dialog.

DONTADDTORECENTLIST 

Do not add the saved document to the recent file list.

AUTOSAVE 

Sets the Auto Save mode. Files are not added to the recent file list and the document change star will not be reset.

SAVECACHES 

For Cineware export only. Caches of objects will also be written (only supported by Cinema 4D file format).

EXPORTDIALOG 

Opens the Export dialog.

CRASHSITUATION 

This flag is passed to Cinema 4D if a crash occurred.

NO_SHADERCACHE 

Disables the SCENEFILTER::SAVE_BINARYCACHE flag.

Function Documentation

◆ MAXON_ENUM_FLAGS()

enum SAVEDOCUMENTFLAGS MAXON_ENUM_FLAGS ( SAVEDOCUMENTFLAGS  )