// Get current selection
// Make a selectionList iterator from the current selection and filter out only the kMeshes
// Iterate over selection until the iterator is done
// Get the actual object we're dealing with (we cant do much with the iterator itself)
MFn::Type apiType = component.apiType(); // ALWAYS kInvalid!
// Don't forget to go to next object
But the problem is that the apiType is always kInvalid while i'm expecting them to be meshpolygons, vertices, edges, ...
Can anyone test this out?