Houdini 22.0 Nodes APEX nodes

sim::LoadSimFile

Loads a simulation state from a file.

On this page
Since 20.0

This node behaves like the File DOP and can be used to load a simulation state from a .sim file.

This can be useful for utilizing DOPs to create a template for the initial state of the simulation (for example, objects and subdata with their default values) rather than replicating the DOP network in APEX. In this case, the APEX graph only needs to override any values (such as initial geometry) that vary based on the graph’s inputs.

The engine ports of this node are in-place ports, which means the simulation engine is updated without creating a copy.

Inputs

*engine: SimEngine Required

The simulation engine to modify.

filename: String

The path of the .sim file to load.

solvecurrentframe: Bool

Objects loaded from the file are normally flagged so that they are not solved in the current timestep (they are solved in subsequent timesteps). This behavior is useful when loading a .sim file sequence where the cached objects should not be resimulated. If solvecurrentframe is set to True, the objects are instead solved in the current timestep. This can be used to solve objects on their creation frame after loading an initial simulation state.

Outputs

*engine: SimEngine

The modified simulation engine.

See also

APEX nodes