You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, quick question about Maya 2024.
I'm not sure if this is a bug or if im doing something wrong.
If i execute following pymel script on a fresh maya start it always returns true and runs the print command the first time i execute this snippet.
It doesnt matter how the window is called. On the second and any following execute it works as expected.
if pm.window("just_some_random_text", exists=True):
print("yep")
changing from the pymel api to maya.cmds:
if cmds.window("just_some_random_text", exists=True):
print("yep")
always works, even the first time (On a new Maya instance). This seems to only be a problem in maya 2024. I tried in in 2023 and the pymel version works properly.
Any Idea whats causing this behavior?
The text was updated successfully, but these errors were encountered:
Hi, quick question about Maya 2024.
I'm not sure if this is a bug or if im doing something wrong.
If i execute following pymel script on a fresh maya start it always returns true and runs the print command the first time i execute this snippet.
It doesnt matter how the window is called. On the second and any following execute it works as expected.
changing from the pymel api to maya.cmds:
always works, even the first time (On a new Maya instance). This seems to only be a problem in maya 2024. I tried in in 2023 and the pymel version works properly.
Any Idea whats causing this behavior?
The text was updated successfully, but these errors were encountered: