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…
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…
Just out of curiosity, what exactly are you making the pivot do? Isn't setting a pivot on a vertex just a matter of holding d (pivot mode) and v (vertex snap) and middle clicking over the vertex you want?