How to realize the constraint of flexible body

How to realize the constraint of flexible body??????