"Unknown workspace" 2016.5

17 views
Skip to first unread message

Pritish Dogra

unread,
Jan 26, 2018, 1:36:26 PM1/26/18
to Python Programming for Autodesk Maya
I have set my project to a new location which contains all the workspace.mel file and the relevant sub folders

However when I run the following command, I getting an error

from maya import cmds
print cmds.workspace('images', q=True, fileRuleEntry=True)
# Error: Unknown workspace.
# Traceback (most recent call last):
#   File "<maya console>", line 2, in <module>
# RuntimeError: Unknown workspace. #



In 2016.0 this command has no issues

from maya import cmds
print cmds.workspace('images', q=True, fileRuleEntry=True)

images

Anyone else encountered this problem?
Reply all
Reply to author
Forward
0 new messages