Go to: Synopsis. Return value. MEL
examples.
setConstraintRestPosition
Script for setting the rest position of a constrained object. The
rest position is where a constrained object goes to when the
constraint is disabled (i.e. all weights equal zero). Say you have
a cup constrained to a skeleton. At frame 10, you want the skeleton
to set the object on the table, where it will remain. Go to frame
10, select the cup and call this method to set the rest position.
The constraint can now be disabled by setting its weight to 0, and
the cup will stay at its rest position.
None
setConstraintRestPosition;