Havent done much MEL before, and I have what should be a really simple question. I have a selection, and have stored it in an array. The selection will either be of edges, verticies or faces. My code reacts differently depending on which component type is selected, but I cannot figure out how to test whether it is verticies, faces, or edges that are selected.
I have looked for flags in the "ls", "selectType" etc commands, but not finding anything. I just need any sort of test to tell me whether it is verticies, edges, or faces, in my selection list.
Any help will be greatly appreciated, since this is the missing link to a little modelling tool.