About State Sets

A state set corresponds to the current positions and velocities of the mechanism bodies.

You can create state sets to store specific positions and velocities of mechanism bodies. You can apply different state sets to review and analyze different model configurations in the 3D area.

See Also
Creating State Sets

You can use the Robot or specific commands to modify the positions or velocities of some of the mechanism bodies in the 3D area. You can then create a state set to:

  • Store the current state set of the model in the tree.
  • Apply any saved state to the current mechanism to review specific mechanism configurations in the 3D area.

    When you apply a state set, the positions of the mechanism bodies update accordingly in the 3D area.

    Note: Applying a state set can generate inconsistencies between the model parameters and the applied state set, for example if you:
    • Specified initial values in the definition of joints
    • Decided to drive joint states
    • Apply the end state of a suspension adjustment step, and then apply another state set.

      In that case, the model parameters (the offsets of the rigid joints and the free length of springs) do not update. They still correspond to the model parameters of the end state of the suspension adjustment step.

    For the first two examples, a warning message appears when you apply the state set.

    Recommendation: Solve the mechanism to ensure that the applied state set corresponds to the specified model parameters. For more information, see Solving Mechanisms.

    If you specified initial values for joints, proceed to an initial state solve too. For more information, see Solving the Initial State of Mechanisms.

You can also compute an analysis step, store its end state as a state set, and review it. For more information, see Saving the End State of Analysis Step Results.

Note: If you create a new analysis step, you can select the end state of a computed analysis step as its initial state. For more information, see Creating Analysis Steps.