Hey guys,
I declared a bunch of points using variables for the coordinates.
variable x1,y1,z1, x2,y,2,z2, .... in sum 20 points
Now I want to create notdes, but my statement does not seem to work:
for {set i 1} {$i < 20} {incr i} {
*createnode $[eval x$i] $[eval 'y'$i] $[eval 'z'$i] 0 0 0
}
So I want to read x1 and 1 is i , which gets incremented. I think it is just a simple tcl syntax error, but I am not getting the solution. Tried append, eval, expr... none of them lets me call $x1.
Thanks and best regards
/emoticons/default_smile.png' alt=':)' srcset='/emoticons/smile@2x.png 2x' width='20' height='20'>
Merula