There is no need for nested for loops in this solutions. But I did have a typo:

for data in valList:
   attr, diffColorAmmount 
   cmds.setAttr(attr, val)

That should resolve it


On May 24, 2013, at 8:28 AM, Justin Israel wrote:

> for data in valList:
>    attr, val
>    cmds.setAttr(attr, val)

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to