Using Sensors to Latch a Mechanism
Sometimes with a mechanism simulation you need to trigger a change in the mechanism when an event such as a latch engaging to stop a component from moving any further. You can model the geometry and use a contact model to capture the physical engagement of the geometry, but this can add to your simulation run time and require a lot of tuning to get working happily.
An alternative is to control the behaviour of the latched component directly using motions that are triggered by the use of Sensors – detecting when the event occurs using a measure and then altering the connectivity of the model to reflect the new configuration with the latch engaged.
This simple example illustrates how the user sets up this type of simulation ….