While Developing a script for python, I tried to use the workspace query function, only for it to reject a string argument. According to the official documentation, this shouldn’t happen, and the MEL equivalent gives the desired result. I even tested the example code on Autodesk’s site and had this error. Anyone else have this problem?
exPath = cmds.workspace(query = True, fileRuleEntry = ‘FBX’)