This is basically what Im trying to do....each time it is run I want it to create a new variable which will be used later in the script. So the first time it is run it will create $Z0, the second time $Z1, the third $Z2 and so on.
My problem is that I cant seem to figure out how to get maya to name its own variables without me directly typing the name and value...any help would be greatly appreciated.
QUOTE(georgep1 @ 10/01/08, 07:06 AM) [snapback]292643[/snapback] My problem is that I cant seem to figure out how to get maya to name its own variables without me directly typing the name and value...any help would be greatly appreciated.
Use eval, but thet means you must limit yourself with global variables. Use one array variable instead or attributes. Really theers no idea in doing this its a bit counter productive and very bad design in general.