-
Notifications
You must be signed in to change notification settings - Fork 134
Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels