Hello guys,
i'm quite new to python pymel in Maya and i want to do a simple thing as
testing if my selection is a face or a edge.
Searching the net i saw that you can either use the filterexpand() or using
something like a hack (if "MeshVertex" in selection[0].__repr__()), is
there a more simple and straightforward way to do this simple test ?
What i'am simply trying to achieve :
if selection is a face or a edge :
do something
Thanks 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/541bf09a-a92c-4aa8-b9d4-ec31bb5141d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.