RealSaladsamurai
Mechanical
- Apr 11, 2012
- 72
Hi! I am awful at this. I am trying to write my first ANSYS 'code' and I am running into some issues. I have a CSV file that contains about 2000 node numbers. I would like to be able to select those nodes by reading the file. Is there a sensible way to do this? I have the following, but it's not working out:
The result is terrible and aw The NSEL,r,,NTABLE(0) is not allowing the use of table the way I am trying. If anyone can help me get through this or offer an alternative method, I would be grateful.
NX7.5.5.4 - Teamcenter 8
ANSYS Workbench 14.5
Code:
/PREP7
*DIM,NTABLE,TABLE,25
*TREAD, NTABLE,test,csv
alls
nsel,r,,NTABLE(0)
*DO,i,1,25,1
nsel,a,,NTABLE(i)
*ENDDO
NPLO
The result is terrible and aw The NSEL,r,,NTABLE(0) is not allowing the use of table the way I am trying. If anyone can help me get through this or offer an alternative method, I would be grateful.
NX7.5.5.4 - Teamcenter 8
ANSYS Workbench 14.5