Hi, like the title says, is it possible to enter multi select mode, then select some edges and some faces in the viewport, then in MEL somehow store the selected edges in variable1 and store the faces in variable2.
Check the filterExpand command. For example: filterExpand -sm 32; // gets only edges filterExpand -sm 34; // gets only faces And then store only faces selection like this (can’t test it because I’m not on my PC): string $faces[] = ‘filterExpand -sm 34’;