SimulationEnvironment.FindCacheForModel

Introduced

v4.2

Description

Returns the ActionSource which is used for caching the simulation of a given model. If there is no cache the method returns an empty object.

Caches are stored in the Environments > Environment > Caches folder under the Scene.

C# Syntax

ActionSource SimulationEnvironment.FindCacheForModel( Model );

Scripting Syntax

oReturn = SimulationEnvironment.FindCacheForModel( Model );

Return Value

ActionSource

Parameters

Parameter Type Description
Model Model Model for which we want to retrieve the cache

Examples

Python Example

#
#     See the Python example under the SimulationEnvironment object.
#