SimulationTickFunction.data

simulation.SimulationTickFunction.data(attribute)

Retrieve the value of a requirement. You must declare the attribute in this function’s requirements list.

Parameters

attribute: AttributeDef | str

The attribute to get, identified either by its name (string) or its definition object.

Returns

NDArray

The attribute value.

Raises

Name Type Description
ValueError If the attribute is not in the function’s requirements declaration.