Here you will find documentation on all the descriptions that Cinema 4D currently has. You can list them Alphabetically, by Type or Plugin . The sample Python and C++ code is automatically generated and in some cases may not be 100% correct. If something doesn't work then please refer to the official Cinema 4D SDK documentation for more information.

IDs and information for Oxpcache

Oxpcache

Attributes

  • ENGLISH NAME : X-ParticlesCacheObject
  • NAME : Oxpcache
  • INCLUDE : Obase
  • PATH : res/description/oxpcache.res
  • PLUGIN : X-Particles
  • MAXON online help (may not exist): OXPCACHE

Elements

ID UI Name Type Parameters Cycle
XOCA_CACHE_USE UseCache BOOL ANIM
XOCA_CACHE_TYPE CacheType LONG ANIM
XOCA_CACHE_TYPE_EXT External(Files)
XOCA_CACHE_TYPE_INT Internal(Memory)
XOCA_CACHE_RECORD_DISPLAY Display LONG ANIM
XOCA_CACHE_RECORD_DISPLAY_FULL Enabled
XOCA_CACHE_RECORD_DISPLAY_NOPARTICLES NoParticles
XOCA_CACHE_RECORD_DISPLAY_REDUCED Reduced
XOCA_CACHE_RECORD_DISPLAY_OFF Disabled
XOCA_CACHE_RECORD_DISPLAY_LOD LOD REAL
ANIM OFF
UNIT PERCENT
MIN 0.0
MAX 100.0
CUSTOMGUI REALSLIDER
SCALE_H
XOCA_CACHE_FORMAT ParticleFormat LONG ANIM
XOCA_CACHE_FORMAT_XP X-Particles
XOCA_CACHE_FORMAT_RF BIN(RealFlow)
XOCA_CACHE_FORMAT_RF13 BIN(RealFlow2013)
XOCA_CACHE_FORMAT_BGEO BGEO(Houdini)
XOCA_CACHE_FORMAT_GEO GEO(Houdini)
XOCA_CACHE_FORMAT_PDB32 PDB32(Maya)
XOCA_CACHE_FORMAT_PDB64 PDB64(Maya)
XOCA_CACHE_FORMAT_PTC PTC(Renderman)
XOCA_CACHE_FORMAT_PDC PDC(MayanCache)
XOCA_CACHE_FORMAT_PRT PRT(Krakatoa)
XOCA_CACHE_FILE_SCALE Scale REAL
ANIM OFF
MIN 0.0
CUSTOMGUI REALSLIDER
XOCA_CACHE_FOLDER Folder FILENAME
DIRECTORY
ANIM OFF
PARENTCOLLAPSE
XOCA_CACHE_FOLDER_ALT AltFolder FILENAME
DIRECTORY
PARENTCOLLAPSE XOCA_CACHE_FOLDER
ANIM OFF
XOCA_CACHE_EXTENSION ExtSeparator STRING
ANIM OFF
PARENTCOLLAPSE XOCA_CACHE_FOLDER
XOCA_CACHE_LOG ShowCacheLog BOOL
PARENTCOLLAPSE XOCA_CACHE_FOLDER
ANIM OFF
XOCA_CACHE_ERRORS ShowCacheErrors BOOL
PARENTCOLLAPSE XOCA_CACHE_FOLDER
ANIM OFF
XOCA_CACHE_FILE_FOLDERS UseFolders BOOL
PARENTCOLLAPSE XOCA_CACHE_FOLDER
ANIM OFF
XOCA_CACHE_FILE_ASSETS CacheFilesasAssets BOOL
PARENTCOLLAPSE XOCA_CACHE_FOLDER
ANIM OFF
XOCA_CACHE_SKIP_PREROLL SkipRenderPre-Roll BOOL
PARENTCOLLAPSE XOCA_CACHE_FOLDER
ANIM OFF
XOCA_CACHE_TEXTUREPATHS SearchTexturePaths BOOL
PARENTCOLLAPSE XOCA_CACHE_FOLDER
ANIM OFF
XOCA_CACHE_COMPRESS CompressCacheonBuild BOOL ANIM
XOCA_CACHE_BUFFER Read/UncompressBufferLimit(MB) LONG
ANIM OFF
MIN 0
XOCA_CACHE_FILL BuildCache BUTTON FIT_H
XOCA_CACHE_EMPTY EmptyCache BUTTON FIT_H
XOCA_CACHE_EMPTY_FRAME ClearFrame BUTTON FIT_H
XOCA_CACHE_RECORD_MODE Mode LONG ANIM
XOCA_CACHE_RECORD_MODE_SYNC Sync
XOCA_CACHE_RECORD_MODE_PLAYBACK Playback
XOCA_CACHE_RECORD_REUSE ReuseCache BOOL
ANIM OFF
HIDDEN
XOCA_CACHE_RECORD_TIME_AUTO AutoTime BOOL  
XOCA_CACHE_RECORD_TIME_START Start BASETIME  
XOCA_CACHE_RECORD_TIME_STOP Stop BASETIME SCALE_H
XOCA_CACHE_RECORD_DATA RecordData LONG  
XOCA_CACHE_RECORD_DATA_BASIC Basic
XOCA_CACHE_RECORD_DATA_ALL All
XOCA_CACHE_RECORD_DATA_AS Custom
XOCA_CACHE_RECORD_DATA_POSITION Position BOOL HIDDEN
XOCA_CACHE_RECORD_DATA_VELOCITY Velocity BOOL  
XOCA_CACHE_RECORD_DATA_TIME Time BOOL  
XOCA_CACHE_RECORD_DATA_LIFE Life BOOL  
XOCA_CACHE_RECORD_DATA_COLOR Color BOOL  
XOCA_CACHE_RECORD_DATA_DISPLAY Display BOOL  
XOCA_CACHE_RECORD_DATA_ID ID BOOL  
XOCA_CACHE_RECORD_DATA_MODIFIERS Modifiers BOOL  
XOCA_CACHE_RECORD_DATA_CUSTOM Custom BOOL HIDDEN
XOCA_CACHE_RECORD_DATA_GROUPID Group BOOL  
XOCA_CACHE_RECORD_DATA_RADIUS Radius BOOL  
XOCA_CACHE_RECORD_DATA_MASS Mass BOOL  
XOCA_CACHE_RECORD_DATA_TEMPERATURE Temperature BOOL  
XOCA_CACHE_RECORD_DATA_BURN Fire BOOL  
XOCA_CACHE_RECORD_DATA_FUEL Fuel BOOL  
XOCA_CACHE_RECORD_DATA_SMOKE Smoke BOOL  
XOCA_CACHE_RECORD_DATA_DISTANCE Distance BOOL  
XOCA_CACHE_RECORD_DATA_ROTATION Rotation BOOL  
XOCA_CACHE_HOLD Hold BOOL  
XOCA_CACHE_WRAP Wrap BOOL SCALE_H
XOCA_CACHE_LOCALCOORDS LocalCoords BOOL  
XOCA_CACHE_PERFRAME ManualTime BOOL  
XOCA_CACHE_FRAME Frame BASETIME SCALE_H
XOCA_CACHE_OFFSET Offset BASETIME  
XOCA_CACHE_SCALE Scale REAL
UNIT PERCENT
MINSLIDER -100.0
MAXSLIDER 100.0
CUSTOMGUI REALSLIDER
SCALE_H
XOCA_CACHE_TIME_AUTO Auto BOOL  
XOCA_CACHE_TIME_START Start BASETIME  
XOCA_CACHE_TIME_STOP Stop BASETIME SCALE_H
XOCA_CACHE_PLAY_DATA_AS CustomPlay BOOL  
XOCA_CACHE_PLAY_DATA_POSITION Position BOOL HIDDEN
XOCA_CACHE_PLAY_DATA_VELOCITY Velocity BOOL  
XOCA_CACHE_PLAY_DATA_TIME Time BOOL  
XOCA_CACHE_PLAY_DATA_LIFE Life BOOL  
XOCA_CACHE_PLAY_DATA_COLOR Color BOOL  
XOCA_CACHE_PLAY_DATA_DISPLAY Display BOOL  
XOCA_CACHE_PLAY_DATA_ID ID BOOL  
XOCA_CACHE_PLAY_DATA_MODIFIERS Modifiers BOOL  
XOCA_CACHE_PLAY_DATA_CUSTOM Custom BOOL  
XOCA_CACHE_PLAY_DATA_GROUPID Group BOOL  
XOCA_CACHE_PLAY_DATA_RADIUS Radius BOOL  
XOCA_CACHE_PLAY_DATA_MASS Mass BOOL  
XOCA_CACHE_PLAY_DATA_TEMPERATURE Temperature BOOL  
XOCA_CACHE_PLAY_DATA_BURN Fire BOOL  
XOCA_CACHE_PLAY_DATA_FUEL Fuel BOOL  
XOCA_CACHE_PLAY_DATA_SMOKE Smoke BOOL  
XOCA_CACHE_PLAY_DATA_DISTANCE Distance BOOL  
XOCA_CACHE_PLAY_DATA_ROTATION Rotation BOOL  
XOCA_HELP_BUTTON BITMAPBUTTON  
XOCA_VIDMAN_BUTTON BITMAPBUTTON  
XOCA_CACHE_PARTICLES Particles BOOL  
XOCA_CACHE_GENERATORS Generators BOOL  
XOCA_CACHE_SPRITES Sprites BOOL  
XOCA_CACHE_TRAILS Trails BOOL  
XOCA_CACHE_SKINNER Skinner BOOL  
XOCA_CACHE_FRAGMENTER Fragmenter BOOL  
XOCA_CACHE_WETMAPS WetMaps BOOL  
XOCA_CACHE_DOMAIN Domain BOOL  
XOCA_CACHE_INCLUDE_MODE Mode LONG  
XOCA_CACHE_INCLUDE_MODE_INCLUDE Include
XOCA_CACHE_INCLUDE_MODE_EXCLUDE Exclude
XOCA_CACHE_INCLUDE Objects IN_EXCLUDE
NUM_FLAGS 2
INIT_STATE 3
SEND_SELCHNGMSG 1
SCALE_V
OPEN
IMAGE_01_ON 1009316
IMAGE_01_OFF 1009320
IMAGE_02_ON 300000231
IMAGE_02_OFF 300000230

Example Code

The following code does not use the correct values when setting the data. You should check directly in C4D for the correct values that you should use in place of the ones that are shown. This code is just to show you how to access the values for getting and setting the parameters.

Python

import c4d
from c4d import gui
def main():
    obj = c4d.BaseObject(c4d.Oxpcache)
    doc.InsertObject(obj)
    c4d.EventAdd(c4d.EVENT_FORCEREDRAW)
    
    #You can set parameters two different ways. 
    #First way              
    obj[c4d.XOCA_CACHE_USE] = True
    obj[c4d.XOCA_CACHE_TYPE] = c4d.XOCA_CACHE_TYPE_EXT
    obj[c4d.XOCA_CACHE_RECORD_DISPLAY] = c4d.XOCA_CACHE_RECORD_DISPLAY_FULL
    obj[c4d.XOCA_CACHE_RECORD_DISPLAY_LOD] = 0.1
    obj[c4d.XOCA_CACHE_FORMAT] = c4d.XOCA_CACHE_FORMAT_XP
    obj[c4d.XOCA_CACHE_FILE_SCALE] = 0.1
    obj[c4d.XOCA_CACHE_FOLDER] = "c:\\SomeFile.txt"
    obj[c4d.XOCA_CACHE_FOLDER_ALT] = "c:\\SomeFile.txt"
    obj[c4d.XOCA_CACHE_EXTENSION] = "Hello World"
    obj[c4d.XOCA_CACHE_LOG] = True
    obj[c4d.XOCA_CACHE_ERRORS] = True
    obj[c4d.XOCA_CACHE_FILE_FOLDERS] = True
    obj[c4d.XOCA_CACHE_FILE_ASSETS] = True
    obj[c4d.XOCA_CACHE_SKIP_PREROLL] = True
    obj[c4d.XOCA_CACHE_TEXTUREPATHS] = True
    obj[c4d.XOCA_CACHE_COMPRESS] = True
    obj[c4d.XOCA_CACHE_BUFFER] = 1
    obj[c4d.XOCA_CACHE_RECORD_MODE] = c4d.XOCA_CACHE_RECORD_MODE_SYNC
    obj[c4d.XOCA_CACHE_RECORD_REUSE] = True
    obj[c4d.XOCA_CACHE_RECORD_TIME_AUTO] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA] = c4d.XOCA_CACHE_RECORD_DATA_BASIC
    obj[c4d.XOCA_CACHE_RECORD_DATA_POSITION] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_VELOCITY] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_TIME] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_LIFE] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_COLOR] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_DISPLAY] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_ID] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_MODIFIERS] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_CUSTOM] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_GROUPID] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_RADIUS] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_MASS] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_TEMPERATURE] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_BURN] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_FUEL] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_SMOKE] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_DISTANCE] = True
    obj[c4d.XOCA_CACHE_RECORD_DATA_ROTATION] = True
    obj[c4d.XOCA_CACHE_HOLD] = True
    obj[c4d.XOCA_CACHE_WRAP] = True
    obj[c4d.XOCA_CACHE_LOCALCOORDS] = True
    obj[c4d.XOCA_CACHE_PERFRAME] = True
    obj[c4d.XOCA_CACHE_SCALE] = 0.1
    obj[c4d.XOCA_CACHE_TIME_AUTO] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_AS] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_POSITION] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_VELOCITY] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_TIME] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_LIFE] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_COLOR] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_DISPLAY] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_ID] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_MODIFIERS] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_CUSTOM] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_GROUPID] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_RADIUS] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_MASS] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_TEMPERATURE] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_BURN] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_FUEL] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_SMOKE] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_DISTANCE] = True
    obj[c4d.XOCA_CACHE_PLAY_DATA_ROTATION] = True
    obj[c4d.XOCA_CACHE_PARTICLES] = True
    obj[c4d.XOCA_CACHE_GENERATORS] = True
    obj[c4d.XOCA_CACHE_SPRITES] = True
    obj[c4d.XOCA_CACHE_TRAILS] = True
    obj[c4d.XOCA_CACHE_SKINNER] = True
    obj[c4d.XOCA_CACHE_FRAGMENTER] = True
    obj[c4d.XOCA_CACHE_WETMAPS] = True
    obj[c4d.XOCA_CACHE_DOMAIN] = True
    obj[c4d.XOCA_CACHE_INCLUDE_MODE] = c4d.XOCA_CACHE_INCLUDE_MODE_INCLUDE
    
    #Second way, using the base container.
    bc = obj.GetDataInstance()
    bc.SetBool(c4d.XOCA_CACHE_USE,True)
    bc.SetInt32(c4d.XOCA_CACHE_TYPE,c4d.XOCA_CACHE_TYPE_EXT)
    bc.SetInt32(c4d.XOCA_CACHE_RECORD_DISPLAY,c4d.XOCA_CACHE_RECORD_DISPLAY_FULL)
    bc.SetFloat(c4d.XOCA_CACHE_RECORD_DISPLAY_LOD,0.1)
    bc.SetInt32(c4d.XOCA_CACHE_FORMAT,c4d.XOCA_CACHE_FORMAT_XP)
    bc.SetFloat(c4d.XOCA_CACHE_FILE_SCALE,0.1)
    bc.SetFileName(c4d.XOCA_CACHE_FOLDER,"c:\\SomeFile.txt")
    bc.SetFileName(c4d.XOCA_CACHE_FOLDER_ALT,"c:\\SomeFile.txt")
    bc.SetString(c4d.XOCA_CACHE_EXTENSION,"Hello World")
    bc.SetBool(c4d.XOCA_CACHE_LOG,True)
    bc.SetBool(c4d.XOCA_CACHE_ERRORS,True)
    bc.SetBool(c4d.XOCA_CACHE_FILE_FOLDERS,True)
    bc.SetBool(c4d.XOCA_CACHE_FILE_ASSETS,True)
    bc.SetBool(c4d.XOCA_CACHE_SKIP_PREROLL,True)
    bc.SetBool(c4d.XOCA_CACHE_TEXTUREPATHS,True)
    bc.SetBool(c4d.XOCA_CACHE_COMPRESS,True)
    bc.SetInt32(c4d.XOCA_CACHE_BUFFER,1)
    bc.SetInt32(c4d.XOCA_CACHE_RECORD_MODE,c4d.XOCA_CACHE_RECORD_MODE_SYNC)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_REUSE,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_TIME_AUTO,True)
    bc.SetInt32(c4d.XOCA_CACHE_RECORD_DATA,c4d.XOCA_CACHE_RECORD_DATA_BASIC)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_POSITION,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_VELOCITY,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_TIME,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_LIFE,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_COLOR,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_DISPLAY,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_ID,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_MODIFIERS,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_CUSTOM,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_GROUPID,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_RADIUS,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_MASS,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_TEMPERATURE,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_BURN,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_FUEL,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_SMOKE,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_DISTANCE,True)
    bc.SetBool(c4d.XOCA_CACHE_RECORD_DATA_ROTATION,True)
    bc.SetBool(c4d.XOCA_CACHE_HOLD,True)
    bc.SetBool(c4d.XOCA_CACHE_WRAP,True)
    bc.SetBool(c4d.XOCA_CACHE_LOCALCOORDS,True)
    bc.SetBool(c4d.XOCA_CACHE_PERFRAME,True)
    bc.SetFloat(c4d.XOCA_CACHE_SCALE,0.1)
    bc.SetBool(c4d.XOCA_CACHE_TIME_AUTO,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_AS,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_POSITION,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_VELOCITY,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_TIME,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_LIFE,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_COLOR,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_DISPLAY,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_ID,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_MODIFIERS,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_CUSTOM,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_GROUPID,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_RADIUS,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_MASS,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_TEMPERATURE,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_BURN,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_FUEL,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_SMOKE,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_DISTANCE,True)
    bc.SetBool(c4d.XOCA_CACHE_PLAY_DATA_ROTATION,True)
    bc.SetBool(c4d.XOCA_CACHE_PARTICLES,True)
    bc.SetBool(c4d.XOCA_CACHE_GENERATORS,True)
    bc.SetBool(c4d.XOCA_CACHE_SPRITES,True)
    bc.SetBool(c4d.XOCA_CACHE_TRAILS,True)
    bc.SetBool(c4d.XOCA_CACHE_SKINNER,True)
    bc.SetBool(c4d.XOCA_CACHE_FRAGMENTER,True)
    bc.SetBool(c4d.XOCA_CACHE_WETMAPS,True)
    bc.SetBool(c4d.XOCA_CACHE_DOMAIN,True)
    bc.SetInt32(c4d.XOCA_CACHE_INCLUDE_MODE,c4d.XOCA_CACHE_INCLUDE_MODE_INCLUDE)

if __name__=='__main__':
    main()
             

C++

#include "c4d.h"
#include "../res/description/oxpcache.h"
void SampleFunction()
{
    BaseDocument *pDoc = GetActiveDocument();
    BaseObject *pObject = BaseObject::Alloc(Oxpcache);
    pDoc->InsertObject(pObject);
    pDoc->StartUndo();
    pDoc->AddUndo(UNDO_NEW,pObject);
    pDoc->EndUndo();
    EventAdd(EVENT_FORCEREDRAW);
    
    //You can set parameters two different ways. 

    //First way              
    //Some objects do not store all their data in the container. You need to use GetParameter()/SetParameter() instead. 

    DESCFLAGS_SET flags = DESCFLAGS_SET_PARAM_SET;
    pObject->SetParameter(DescID(XOCA_CACHE_USE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_TYPE),GeData(XOCA_CACHE_TYPE_EXT),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DISPLAY),GeData(XOCA_CACHE_RECORD_DISPLAY_FULL),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DISPLAY_LOD),GeData(0.1),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_FORMAT),GeData(XOCA_CACHE_FORMAT_XP),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_FILE_SCALE),GeData(0.1),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_FOLDER),GeData(Filename("c:\\SomeFile.txt"),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_FOLDER_ALT),GeData(Filename("c:\\SomeFile.txt"),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_EXTENSION),GeData("Hello World"),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_LOG),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_ERRORS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_FILE_FOLDERS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_FILE_ASSETS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_SKIP_PREROLL),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_TEXTUREPATHS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_COMPRESS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_BUFFER),GeData(1),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_MODE),GeData(XOCA_CACHE_RECORD_MODE_SYNC),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_REUSE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_TIME_AUTO),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA),GeData(XOCA_CACHE_RECORD_DATA_BASIC),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_POSITION),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_VELOCITY),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_TIME),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_LIFE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_COLOR),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_DISPLAY),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_ID),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_MODIFIERS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_CUSTOM),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_GROUPID),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_RADIUS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_MASS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_TEMPERATURE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_BURN),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_FUEL),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_SMOKE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_DISTANCE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_RECORD_DATA_ROTATION),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_HOLD),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_WRAP),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_LOCALCOORDS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PERFRAME),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_SCALE),GeData(0.1),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_TIME_AUTO),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_AS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_POSITION),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_VELOCITY),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_TIME),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_LIFE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_COLOR),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_DISPLAY),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_ID),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_MODIFIERS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_CUSTOM),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_GROUPID),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_RADIUS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_MASS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_TEMPERATURE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_BURN),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_FUEL),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_SMOKE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_DISTANCE),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PLAY_DATA_ROTATION),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_PARTICLES),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_GENERATORS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_SPRITES),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_TRAILS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_SKINNER),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_FRAGMENTER),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_WETMAPS),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_DOMAIN),GeData(true),flags);
    pObject->SetParameter(DescID(XOCA_CACHE_INCLUDE_MODE),GeData(XOCA_CACHE_INCLUDE_MODE_INCLUDE),flags);
    pObject->Message(MSG_UPDATE);            

    //Second way, using the base container.
    BaseContainer *bc =     pObject->GetDataInstance();
    bc->SetBool(XOCA_CACHE_USE,true);
    bc->SetInt32(XOCA_CACHE_TYPE,XOCA_CACHE_TYPE_EXT);
    bc->SetInt32(XOCA_CACHE_RECORD_DISPLAY,XOCA_CACHE_RECORD_DISPLAY_FULL);
    bc->SetFloat(XOCA_CACHE_RECORD_DISPLAY_LOD,0.1);
    bc->SetInt32(XOCA_CACHE_FORMAT,XOCA_CACHE_FORMAT_XP);
    bc->SetFloat(XOCA_CACHE_FILE_SCALE,0.1);
    bc->SetFileName(XOCA_CACHE_FOLDER,"c:\\SomeFile.txt");
    bc->SetFileName(XOCA_CACHE_FOLDER_ALT,"c:\\SomeFile.txt");
    bc->SetString(XOCA_CACHE_EXTENSION,"Hello World");
    bc->SetBool(XOCA_CACHE_LOG,true);
    bc->SetBool(XOCA_CACHE_ERRORS,true);
    bc->SetBool(XOCA_CACHE_FILE_FOLDERS,true);
    bc->SetBool(XOCA_CACHE_FILE_ASSETS,true);
    bc->SetBool(XOCA_CACHE_SKIP_PREROLL,true);
    bc->SetBool(XOCA_CACHE_TEXTUREPATHS,true);
    bc->SetBool(XOCA_CACHE_COMPRESS,true);
    bc->SetInt32(XOCA_CACHE_BUFFER,1);
    bc->SetInt32(XOCA_CACHE_RECORD_MODE,XOCA_CACHE_RECORD_MODE_SYNC);
    bc->SetBool(XOCA_CACHE_RECORD_REUSE,true);
    bc->SetBool(XOCA_CACHE_RECORD_TIME_AUTO,true);
    bc->SetInt32(XOCA_CACHE_RECORD_DATA,XOCA_CACHE_RECORD_DATA_BASIC);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_POSITION,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_VELOCITY,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_TIME,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_LIFE,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_COLOR,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_DISPLAY,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_ID,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_MODIFIERS,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_CUSTOM,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_GROUPID,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_RADIUS,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_MASS,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_TEMPERATURE,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_BURN,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_FUEL,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_SMOKE,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_DISTANCE,true);
    bc->SetBool(XOCA_CACHE_RECORD_DATA_ROTATION,true);
    bc->SetBool(XOCA_CACHE_HOLD,true);
    bc->SetBool(XOCA_CACHE_WRAP,true);
    bc->SetBool(XOCA_CACHE_LOCALCOORDS,true);
    bc->SetBool(XOCA_CACHE_PERFRAME,true);
    bc->SetFloat(XOCA_CACHE_SCALE,0.1);
    bc->SetBool(XOCA_CACHE_TIME_AUTO,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_AS,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_POSITION,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_VELOCITY,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_TIME,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_LIFE,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_COLOR,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_DISPLAY,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_ID,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_MODIFIERS,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_CUSTOM,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_GROUPID,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_RADIUS,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_MASS,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_TEMPERATURE,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_BURN,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_FUEL,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_SMOKE,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_DISTANCE,true);
    bc->SetBool(XOCA_CACHE_PLAY_DATA_ROTATION,true);
    bc->SetBool(XOCA_CACHE_PARTICLES,true);
    bc->SetBool(XOCA_CACHE_GENERATORS,true);
    bc->SetBool(XOCA_CACHE_SPRITES,true);
    bc->SetBool(XOCA_CACHE_TRAILS,true);
    bc->SetBool(XOCA_CACHE_SKINNER,true);
    bc->SetBool(XOCA_CACHE_FRAGMENTER,true);
    bc->SetBool(XOCA_CACHE_WETMAPS,true);
    bc->SetBool(XOCA_CACHE_DOMAIN,true);
    bc->SetInt32(XOCA_CACHE_INCLUDE_MODE,XOCA_CACHE_INCLUDE_MODE_INCLUDE);
    pObject->Message(MSG_UPDATE);                                                      
}
             

Buttons

This node has buttons. Buttons can manually be executed by calling the following code

Python

c4d.CallButton(obj,c4d.XOCA_CACHE_FILL)
c4d.CallButton(obj,c4d.XOCA_CACHE_EMPTY)
c4d.CallButton(obj,c4d.XOCA_CACHE_EMPTY_FRAME)
c4d.CallButton(obj,c4d.XOCA_HELP_BUTTON)
c4d.CallButton(obj,c4d.XOCA_VIDMAN_BUTTON)

C++

DescriptionCommand dc;
dc.id = DescID(XOCA_CACHE_FILL);             
pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);

DescriptionCommand dc; dc.id = DescID(XOCA_CACHE_EMPTY); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(XOCA_CACHE_EMPTY_FRAME); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(XOCA_HELP_BUTTON); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);
DescriptionCommand dc; dc.id = DescID(XOCA_VIDMAN_BUTTON); pObject->Message(MSG_DESCRIPTION_COMMAND, &dc);