Tornado7
06-01-2006, 12:58 PM
Hi guys,
I'm writing a script in which I'm generating, with a for cylce, some joint, renaming every joint using the cycle index; for example something like that:
for (int $i=1; $i<$n; $i++) {
joint -n "Spine"+$i;
}
to get n joints named Spine1 to Spinen. Obviously this syntax doesn't work... Can anyone tell me if exist a way to connect a sting to an integer variable?
Thanks for any answers
I'm writing a script in which I'm generating, with a for cylce, some joint, renaming every joint using the cycle index; for example something like that:
for (int $i=1; $i<$n; $i++) {
joint -n "Spine"+$i;
}
to get n joints named Spine1 to Spinen. Obviously this syntax doesn't work... Can anyone tell me if exist a way to connect a sting to an integer variable?
Thanks for any answers
