I am new to ansys apdl and am not familiar with the coding. I know I am not doing this right.
Can someone help me with this code. I am trying to write x, y and z displacements to arrays dx, dy and dz
I appreciate your help!
*cfopen,D:\documents\crank3.txt !Open output text file in a directory
! Selects a subset of components and assemblies (a new set, whose name is crank)
nsle,s ! Select a set
*GET,nmax,NODE,0,num,max ! get highest node number in selected body
*GET,nmin,NODE,0,num,min ! get lowest node number in selected body
!Loop for all nodes (nmin to nmax with increment of 1000) in selected set