struct.cable.state.tension

Syntax

i := struct.cable.state.tension(p)

Get the tension yield state of cable element. The return value {0, 1, 2} denotes never yielded, now yielding, or yielded in the past, respectively.

Returns: i - an integer in the set of {0, 1, 2} denotes never yielded, now yielding, or yielded in the past, respectively p - a pointer to a cable element