hi i just started using pymel, and i would like to store all the
transform classes of the created cubes in a separate list.

right now i have :

MyCubes = [];

for i in range(10) :
    MyCubes.append(pm.polyCube( n='TestCube'));

then i have to  select the cubes in the scene  to  get the transform
classes :

MyCubes_transform = pm.ls( selection = True);


Im shure there is a better way...

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to