## CopyCacheFiles2

### Introduced

v9.0 (2011)

### Description

Copies the simulation environment cache files under the current project.

### Scripting Syntax

    CopyCacheFiles2( [ObjectsToCache], SourcePath, TargetPath, [Overwrite], [ShowProgressbar], [Version] );

### Parameters

Parameter | Type | Description
--- | --- | ---
ObjectsToCache | String or XSICollection | The list of objects for which we will copy the cache. You can use X3DObjects as well as SimulationEnvironments. Default Value: Selected objects
SourcePath | String | The source path Default Value: -1
TargetPath | String | The target path Default Value: -1
Overwrite | Boolean | True to overwrite the file if it exists Default Value: False
ShowProgressbar | Boolean | True to display a ProgressBar during this operation Default Value: True
Version | String | Version letter Default Value: A

### See Also

CopyExtFilesIntoProject CacheObjectsIntoFile CacheObjectsIntoFileDialog SimulationEnvironment ProgressBar