Hello guys,

i'am still stuck with this one, i can't get a for loop working with the 
dict unpacking, i t is not iterating on the key:value pair....as i surely 
not using the good way to iterate with dict:

attrs = {"offset": True,
         "smoothingAngle": True,
         "localTranslateZ": True,
         "localScaleX": True}


for attr in attrs:
    print(pm.polyExtrudeFacet(extrusion, q=1, **attrs))

it's giving me the same value each time.
What am i doing wrong ?

Thank you for your help !

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/8a8b11a7-ab7d-4d1a-b626-785b8280dc68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to