Ah I see. I've got a script that does exactly that, using only maya.cmds. I'll put it up here it tomorrow morning for you.
On Tuesday, 13 January 2015, <[email protected]> wrote: > it's fairly basic really. It's just a tool for creating follicles at > selected components. Easy enough. But then I wanted it to work on > selected components of any type. > > So if it's a vert, I just get the UV value directly. and if it's a face or > edge, I average the UV values of their appropriate verts. > > I guess I just don't understand how to work with an MObject that holds > these different component types. > > -- > 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] <javascript:;>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/ae10f7dd-bbdc-4032-a4d9-58dc3b7e53f2%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- *Marcus Ottosson* [email protected] -- 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/CAFRtmOCwF1jAhxuz%2Bjy%2BsVOwWaqFHC-6FSN_RZMMi7kd_6q4NA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
