Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleAvailable only for HotFix 2

A simplified simplified Set Simulation Variable method can be used when setting a single value, which does not require constructing a JSON.

Panel

client.set_variable(<name>, <value>, <simulation_id> (optional), <context> (optional), <propertyPath> (optional)). 

For example, set_variable(name="mass", value=100, propertyPath = "car.engine")

You can also omit parameter names if the parameters are in the correct sequence, for example, client.set_variable("mass", 100).

...