jpasquerell
Ansys Employee

If your question is how to create lines going from 3 to 8, 8 to 13 then try:


 


*dim,klocs,array,5,2


km=0


*do,jj,1,5


km=kpnext(km)


klocs(jj,1)=km      ! minimum selected kp number


klocs(jj,2)=kx(km)   ! x coord of it


*enddo


*dim,oldo,array,5


*moper,oldo(1),klocs(1,1),sort,klocs(1,2)


*do,jj,1,4


lstr,klocs(jj),klocs(jj+1)


*enddo