Hey been working on a pivot tool for maya just so it makes it easier to put the pivot easier for common areas. I have that all up and running though where I'm running into a problem is putting the pivot on a selected vertex. I get the xform of the vertex but my problem is how would I split the selection array. Example:…
Cool thanks Claydough. I found out about the filterexpand command though from the looks of it you can't store it into an array or maybe I'm doing something wrong but the ls -hl worked. PS The Mel code you have there, is $selRequirement just polygon as a string? Cause I looked through the doc and couldn't find anything…
for example: a poly -sm 12 filterExpand will only return objects if an object is selected. If using your pSphere1.vtx[300] selection as an example... nothing will be returned if that object is not in object mode. filterExpand will return an array.. depending on your selection you may need to use the -expand "true" flag to…