SimulationEnvironment.Caches

Introduced

v4.2

Description

Returns an ActionSourceCollection containing every ActionSource object used in the caching of the simulation (see Environments > Environment > Caches under the Scene).

As soon as you add an object to the simulation environment a cache for the model of the object will be created. The cache will only be populated if the simulation time control caching parameter is set to true and there is a frame change.

C# Syntax

// get accessor
ActionSourceCollection rtn = SimulationEnvironment.Caches;

Examples

JScript Example

/*
	See the JScript example under the SimulationEnvironment object.
*/

See Also

SimulationEnvironment.FindCacheForModel