Arturo
08-08-2011, 06:19 PM
for ($i = 1; $i < 77; $i++) //
{
select -r OBJECTANAME$i:nurbsToPoly1 ;
select -add OBJECTBNAME$i:nurbsToPoly1 ;
blendShape -frontOfChain;
}
This ain't working knowing that I would like to loop 77 times the creation of a blend shape selecting OBJECT A and B Both with same number i.
If I put[$i] it recognizes the variable but writes the [] in the object name so it isnt working neither.
Same problem in Phyton
for i in range(1,77):
cmds.blendShape( ObjectAi, ObjectBi)
ain't working neither
Please can you help me on how to write this correctly?
thanks a lot
{
select -r OBJECTANAME$i:nurbsToPoly1 ;
select -add OBJECTBNAME$i:nurbsToPoly1 ;
blendShape -frontOfChain;
}
This ain't working knowing that I would like to loop 77 times the creation of a blend shape selecting OBJECT A and B Both with same number i.
If I put[$i] it recognizes the variable but writes the [] in the object name so it isnt working neither.
Same problem in Phyton
for i in range(1,77):
cmds.blendShape( ObjectAi, ObjectBi)
ain't working neither
Please can you help me on how to write this correctly?
thanks a lot
