add_state_machine_state(sm, name, position=None, size=None, kind=SK.NORMAL, display=DK.GRAPHICAL)#

Create a state in a state machine.

Parameters:
smsuite.StateMachine

Input state machine.

namestr.StateMachine

Name of the state.

positionTuple[float, float], default: None

Position of the state, expressed in 1/100th of mm. This value is considered if and only if the state machine has a graphical representation.

sizeTuple[float, float], default: None

Size of the state, expressed in 1/100th of mm. This value is considered if and only if the state machine has a graphical representation.

kindSK, default: NORMAL

Kind of the state.

displayDK, default: GRAPHICAL

Layout of the state.

Returns:
suite.State