Home Coding, Scripting, Shaders
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

Mel script having a hard time querying if face or object is selected.

polycount sponsor
Offline / Send Message
malcolm polycount sponsor
I have an if statement that I want to use to see if the object is selected or the polygon face is selected, when I use the right click menu to switch to face mode it appears to mess up the -q -polymeshFace and it will return true even though I'm in object mode. Does anyone know how to reliably query if you have faces selected or objects selected.

$maCheckIfFacesSelected = `selectType -q -polymeshFace`;

Replies

Sign In or Register to comment.