API Changelist R20

Note

New additions to the Cinema 4D Python SDK are marked like this throughout the documentation:

New in version R20.

Here is the list of all the API additions and changes in the R20 Python API:

R20

Changes

Symbols

Symbols value with the name 0 were renamed to NONE. For instance, DESCFLAGS_SET_0 was changed to DESCFLAGS_SET_NONE.

For compatibility reason, DESCFLAGS_SET_0 keep working but please update your symbols to the new format.

Color Chooser

Parameter

Removed

  • BaseDocument.SearchObjectInc()/SearchMaterialInc()

  • c4d.threading.GeProcessBackgroundThreads

R20.028 - SP1 Hotfix 1

This hotfix for Cinema 4D R20 SP1 did not change any API functionality.

R20.030 - SP1 Hotfix 2

This hotfix for Cinema 4D R20 SP1 did not change any API functionality.

R20.057 - SP2

Symbols

Few symbols were added in this release:

  • FORMAT Export:

    1. FORMAT_ABCIMPORT: Alembic import.
    2. FORMAT_ABCEXPORT: Alembic export.
    3. FORMAT_DAE14IMPORT: Collada 14 import.
    4. FORMAT_DAE14EXPORT: Collada 14 export.
    5. FORMAT_DAE15IMPORT: Collada 15 import.
    6. FORMAT_DAE15EXPORT: Collada 15 export.
    doc = c4d.documents.GetActiveDocument()
    filePath = storage.LoadDialog(title="Save File for Alembic Export", flags=c4d.FILESELECT_SAVE, force_suffix="abc")
    if filePath is None:
        return
    
    c4d.documents.SaveDocument(doc, filePath, c4d.SAVEDOCUMENTFLAGS_DONTADDTORECENTLIST, c4d.FORMAT_ABCEXPORT)
    
  • DESCRIPTION CUSTOMGUISETTINGS:

    1. DESCRIPTION_HIDE_EMPTY_GROUPS

R20.059 - SP2 Hotfix 1

This hotfix for Cinema 4D R20 SP2 did not change any API functionality.