You have worked with arrays before?
For example you have 10 nodes. (node numbers are: 11,16,27,101 ...).
You can define a vector with the *dim comand.
*dim,name,array,10,2
and fill the vector with node numbers and contraints.
may be:
name(1,1)=11
name(1,2)=0.1
name(2,1)=16
name(2,2)=0.2
....
or with vector operations:
(*vfil, *voper, *vfun, *mfun ...)
If you have the vector, you can define the constraints with a do loop:
*do,i,1,10
d,name(i,1),ux,name(i,2)
*enddo
Or with an implied do loop:
d,name(1:10,1),ux,name(1:10,2) -> works faster by big problems!