Yes i see my error calling over the ordinal key/value from the dict but 
calling only "pm.polyExtrudeFacet(extrusion, q=1, **attrs" returns only one 
value and not every attributes value i want to query.

My steps :

# get the mesh
sel=pm.selected()[0]

# get the shape
shapeNode = sel.getShapes()[0]

# get the extrudes nodes
 extNodes = sorted([node for connection in shapeNode.connections(c=1) for node 
in connection if pm.nodeType(node)=='polyExtrudeFace'])

# node attributes (shortened for demonstration)
attrs = {"offset": True,
         "smoothingAngle": True,
         "localTranslateZ": True,
         "localScaleX": True}

#  list all the attributes value for say the first extrude node :
extAttrValues = pm.polyExtrudeFacet(extNodes [0], q=1, **attrs)
it only returns one value in the extAttrValues  list.

Thank 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/df5d28fc-a4f2-495b-8faf-56b2862c31b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to