--- title: "Cache" url: "https://help.maxon.net/c4d/en-us/Content/html/CLOTHTAG-CLOTH_GROUP_EFFECTS.html" section_path: "Simulate Menu > The Simulation System > The various Simulation Tags > Cloth Tag > Cache" element_id: "CLOTHTAG" group_id: "CLOTH_GROUP_EFFECTS" description: "When this mode is active, the clothing engine plays a saved solution of the simulation. This allows you to quickly replay the process in the editor …" --- ## Cache Note: Please also note the command **Bake as Alembic** with which you can bake and save simulations externally as an Alembic file. > **Tip:** Note:Note that settings are listed here that do not apply in the new simulation system (but do in the old system). You can safely ignore them. ### Cache Mode Parameter ID: `CLOTH_BAKE` When this mode is active, the clothing engine plays a saved solution of the simulation. This allows you to quickly replay the process in the editor without having to wait for a recalculation. ### Start Parameter ID: `CLOTH_CACHE_START` Use this to set a time offset for the stored solution. Example: In the saved solution there is an animation that runs from frame **0** to frame **50**. For example, if **Start** is set to **20** and you click **Play**, the animation will run from frame **20** to **70**. ### Calculate Cache Parameter ID: `CLOTH_DO_CALCULATE` With this function you can load a cloth simulation into the memory. After clicking the button the animation will be played and loaded into the memory. At the end, the Save mode is automatically activated and the saved solution can be read. ### Cached: Parameter ID: `CLOTH_CACHE_INFO1` This field shows what percentage of the scene has already been calculated. ### Clear Cache Parameter ID: `CLOTH_DELCACHE` This button deletes the saved calculation. After deletion, the cloth object is back in its initialization state. ### Memory: Parameter ID: `CLOTH_CACHE_INFO2` Displays the memory requirements of the saved solution. ### Update Frame Parameter ID: `CLOTH_CACHE_FRAME` Occasionally, simulations behave differently in detail than one would actually wish: for example, when individual points enter a collision object. In this case, the saved solution can be adjusted. Proceed as follows: 1. Click Calculate Cache or Cache Scene. 2. Go to the animation frame where you want to change point positions. 3. Switch to Points mode and move the corresponding clothing points. 4. In the Basic tab, uncheck the **Enable** option. 5. In the Cache tab, click **Update Frame**. 6. Go to the next animation frame to be changed and do the following at point 4. further until you have changed all the animation frames you want. ### Load... Parameter ID: `CLOTH_CACHE_LOAD` ### Save... Parameter ID: `CLOTH_CACHE_SAVE` With **Save...** it is possible to save the saved solution of the simulation, which was previously only saved in the working memory, as a file. The purpose of the action: the normal **Undo** function would be overwhelmed by the amount of data involved in editing the saved solution. You can therefore use **Save** to store a defined initial state and **Load...** to return to it at any time. ### Cache Scene Parameter ID: `CLOTH_DO_CALCULATE_ALL` For the new simulation system, this button saves all other existing solutions. So you don't have to call each tag and save it separately. The old spring-mass simulation system does not use this and the next command. ### Clear Scene Cache Parameter ID: `CLOTH_DELCACHE_ALL` For the new simulation system, this button deletes all other existing saved solutions scene-wide. So you don't have to call each tag and delete it separately.