# FixY command

This command is used to construct multiple homogeneous single-point boundary constraints for all nodes whose y-coordinate lies within a specified distance from a specified coordinate.

```tcl fixY $yCoordinate (ndf $ConstrValues) <-tol $tol> ```

yCoordinate

y-coordinate of nodes to be constrained

constrValues

ndf constraint values (0 or 1) corresponding to the ndf degrees-of-freedom.

0 unconstrained (or free)

1 constrained (or fixed)

tol

user-defined tolerance (optional, default = 1e-10)

## Examples

fixY 0.0 1 1 1 1 1 1; # fully restrain all nodes in x=z plane at origin (y=0.0)

Code Developed by: fmk