Hey Guys,
if (window -exists Awin) { DO_STUFF!!!}
window -exists Awin
I want it to meet 2 conditions before running it's command though. Any ideas on how I would I go about writing that?
window -exists Awinwindow -exists Bwin
I'll usually error out with maya expecting 1 condition and having found 2
Nevermind, I figured out what I was doing wrong and found a solution to the the bigger issue I was having in the first place.
For future, you can use the && operator.
if(window -exists Awin && window -exists Bwin){ DO_STUFF}
window -exists Bwin
Or use the "and" operation instead of "&&" if you're using python.
This topic was automatically closed after 89 days. New replies are no longer allowed.
Error: Backend Fetch Failure
We've been notified about this issue and we'll take a look at it shortly.
If you need to reach us, email support@highend3d.com