Hi,
I just want to share a curious behaviour recently discovered.
I’m doing some maya scene dependency processing and im doing it in a background QThread.
I have some time now dealing with Maya Python and Threading and i m aware Maya is everything but thread friendly so you need to be very careful when using maya.cmds in threads.
However, if i use pymel commands instead i get errors at runtime in the first command i try to use. I know Pymel is an abstract object oriented layer above maya.cmds but one would hope at least the same behaviour as maya.cmds and not encounter such problems. The error it reports points to the need of specifying a boolean flag, this is nonsense because i tried the same command in the script editor and it works flawlessly.
I just wonder why if pymel is neither thread safe the error it throws is not more clear and states so or at least demonstrates same behaviour as maya.cmds (which is that maya crashes)
Anyone know better why is this behaviour?