SAVEPROJECT

Detailed Description

See also
SaveProject()

Enumerations

enum class  SAVEPROJECT {
  NONE ,
  ASSETS ,
  SCENEFILE ,
  DIALOGSALLOWED ,
  SHOWMISSINGASSETDIALOG ,
  ADDTORECENTLIST ,
  DONTCOPYFILES ,
  PROGRESSALLOWED ,
  DONTTOUCHDOCUMENT ,
  DONTFAILONMISSINGASSETS ,
  ISNET ,
  USEDOCUMENTNAMEASFILENAME ,
  DONTCLEARSUGGESTEDFOLDER ,
  WITHCACHES ,
  DONTGENERATEPAINTTEX ,
  ASSETLINKS_COPY_FILEASSETS ,
  ASSETLINKS_COPY_NODEASSETS
}
 

Functions

enum SAVEPROJECT MAXON_ENUM_FLAGS (SAVEPROJECT)
 

Enumeration Type Documentation

◆ SAVEPROJECT

enum SAVEPROJECT
strong
Enumerator
NONE 

None.

ASSETS 

Pass if the assets will be taken into account.

SCENEFILE 

Pass if the scene will be taken into account.

DIALOGSALLOWED 

Show dialogs like error messages, a file selection for missing assets or alerts if necessary.

SHOWMISSINGASSETDIALOG 

If an asset is missing show a warning dialog. Flag can be set without SAVEPROJECT::DIALOGSALLOWED.

ADDTORECENTLIST 

Add document to the recent list.

DONTCOPYFILES 

Does the same as without this flag but does not copy the files to the destination. Flag used to simulate the function.

PROGRESSALLOWED 

Show the progress bar in the main window.

DONTTOUCHDOCUMENT 

Document will be in the same state as before the call was made.

DONTFAILONMISSINGASSETS 

If this flag is passed, the function does not fail anymore when assets are missing.

ISNET 

Private. Set only if NET module is collecting assets.

USEDOCUMENTNAMEASFILENAME 

Use the document name as the file name to save as project.

DONTCLEARSUGGESTEDFOLDER 

Do not change asset paths of nodes.

WITHCACHES 

Save the project assets with Global Illumination / Ambient Occlusion caches.

See also
ASSETDATA_FLAG_WITHCACHES
Since
R17.048
DONTGENERATEPAINTTEX 

Does the same as without this flag but does not generate the textures from painted materials.

Since
R17.053
ASSETLINKS_COPY_FILEASSETS 

copy file assets (assets://) to the tex folder

ASSETLINKS_COPY_NODEASSETS 

copy node assets to the scene repository

Function Documentation

◆ MAXON_ENUM_FLAGS()

enum SAVEPROJECT MAXON_ENUM_FLAGS ( SAVEPROJECT  )