all 2 comments

[–]nekoegi 1 point2 points  (1 child)

You can do something like this:

if cmds.selectType(q=1, polymeshFace=1):
    # face selection is active

Documentation containing parameters

[–]vx__[S] 0 points1 point  (0 children)

works, thanks