mech.cycle

Syntax

i = mech.cycle

Get the current step/cycle number.

Returns:i - step or cycle number