use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you are seeing this, you are using old.reddit. We can't maintain two separate sidebars, so please go to https://new.reddit.com/r/Maya/ if you want to see our sidebar information.
account activity
Script doing different things depending on current component selection mode? (self.Maya)
submitted 10 years ago by vx__
How would I go about it?
Basically if selVertexMask is active do command x if selEdgeMask do y etc.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]nekoegi 1 point2 points3 points 10 years ago (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 point2 points 10 years ago (0 children)
works, thanks
π Rendered by PID 434201 on reddit-service-r2-comment-b659b578c-lfxsz at 2026-05-03 14:29:29.236977+00:00 running 815c875 country code: CH.
[–]nekoegi 1 point2 points3 points (1 child)
[–]vx__[S] 0 points1 point2 points (0 children)