Invert selection of polygons

I don’t do a lot of Maya (and especially mel programming) but Maybe you can get a list of all the polygons and just create a new one out of All - Selected?
I don’t know if that’s a PITA in mel or not though.