EXTRACT THE STATE FROM TIME

Looks up the graphic/animation state that corresponds to a given simulation time from a key-value state map. Use this worker when you need to translate a specific time value into its associated playback or visualization state index.

When to use

Classification: process.

Tagged: animation, graphic_states, keyvalue, lookup, scalar, state, time.

Inputs

Label ID Type Default Required Description
Graphic States keyvalue keyvalue   Key-value map of graphic/animation states (time-to-state pairs); leave empty to use an upstream-supplied state map.
Time time scalar 0   Simulation time (in model time units, e.g. seconds or milliseconds) at which to look up the corresponding state; defaults to 0.

Outputs

Label ID Type Description
keyvalue_get_state_from_time_curve_output_1 keyvalue_get_state_from_time_curve_output_1 scalar Scalar state identifier (e.g. frame index or state key) that corresponds to the supplied time value.

Disciplines

  • cae.postprocessing.visualization
  • data.curve.transform

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=keyvalue_get_state_from_time


Auto-generated from transformation schema. Worker id: keyvalue_get_state_from_time. Schema hash: 03d2e452ad23. Hand-curated docs in workerexamples/ override this page when present.