Heya

Thanks MarkJ for help ! Now this is piece of code I will scratch my head for a 
while... But I still cant figure out when I run this command 

cmds.setAttr('%s.%s'%(materials,'diffuseColorAmount'),value)

Why I get this error

# RuntimeError: setAttr: Error reading data element number 1: 0 # 

I put the txt content in to the value and then I tell it to be used when 
changing attr but it errors :( 

Thanks, bye.

-- 
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