I can't figure out why when I select a bunch of vertices and use the selectedNodes command, I get the shape the vertices belong to, rather than a list of vertices. Is there any way to get that list?
selectedNodes
well you should be using ls. in this case ls -sl (short for list selection)
heh yep, found it right before you posted, by opening up the hood of pose2shelf...only thing is had to add the -fl flag to get them all individually...
aswell you can use the filterExpand -sm 31 -sm 28 -sm 36 to return all the selected vertecies and ignore any selected things other than verts. (31 = poly verts, 28 = nurbs verts, 36 = sbds verts)
filterExpand -sm 31 -sm 28 -sm 36
thats what I just wanted to say :]
A vertex is not a "node" in Maya.