Hello everybody,
I have been struggling with this problem whole Friday and did not find a suitable answer (for my "homework") during the weekend. Hope you will help me guys finding it.
I've got two rows of nodes which I want to connect by element contac12 (I can do that manually but I have many of such pairs so I need a macro). So what I need is to get nodes numbers and Y location in two columns (which will be sorted automatically by nodes number) and then sort it by Y location of all nodes. I created such small macro so far but getting Y location brings me this warning
This is macro code:
Another question is, if I will manage it can you tell me, how can I get values from cell ex. (3,1) and (3,2) during creating elements?
e,...,...
Thanks in advance for your help, I will appreciate it greatly!
Regards, Maciek.
I have been struggling with this problem whole Friday and did not find a suitable answer (for my "homework") during the weekend. Hope you will help me guys finding it.
I've got two rows of nodes which I want to connect by element contac12 (I can do that manually but I have many of such pairs so I need a macro). So what I need is to get nodes numbers and Y location in two columns (which will be sorted automatically by nodes number) and then sort it by Y location of all nodes. I created such small macro so far but getting Y location brings me this warning
Code:
Some entities requested in the *vget were undefined
This is macro code:
Code:
*get,temp1_num,node,,count
*get,temp1_min,node,,num,min
*DIM,t1_ar,ARRAY,temp1_num,3,1, , ,
*vget,t1_ar(1,1),NODE,,NLIST,,,,4
*Vget,t1_ar(1,3),NODE,,LOC,Y,,,4
Another question is, if I will manage it can you tell me, how can I get values from cell ex. (3,1) and (3,2) during creating elements?
e,...,...
Thanks in advance for your help, I will appreciate it greatly!
Regards, Maciek.