A displacement is a restraint - they are both boundary conditions.
If you have a case where you want to impose an X displacement of 1.0, you can define DX1= 1.0. In your load cases, if you include D1 in the list of primitives, the deflection will be applied. In any load case where D1 is not included the X DOF is restrained, the same as DX1=0.
_________________________
Regards,
Richard Ay - Consultant