SAVEDOCUMENTFLAGS

SAVEDOCUMENTFLAGS_NONE

None.

SAVEDOCUMENTFLAGS_DIALOGSALLOWED

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

SAVEDOCUMENTFLAGS_SAVEAS

Forces a “Save As” and opens the file dialog.

SAVEDOCUMENTFLAGS_DONTADDTORECENTLIST

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

SAVEDOCUMENTFLAGS_AUTOSAVE

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

SAVEDOCUMENTFLAGS_SAVECACHES

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

SAVEDOCUMENTFLAGS_EXPORTDIALOG

Opens the Export dialog.

SAVEDOCUMENTFLAGS_CRASHSITUATION

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

SAVEDOCUMENTFLAGS_NO_SHADERCACHE

Disables the SCENEFILTER_SAVE_BINARYCACHE flag.