[PYTHON] Maya | Get the workspace path

import maya.cmds as cmds

path = cmds.workspace(query=True, rootDirectory=True)
print path

Recommended Posts

Maya | Get the workspace path
Maya | Get the workspace path
Get the desktop path in Python
Get the script path in Python
Get the desktop path in Python
Get the file path using Pathlib
Get the path to the systemd unit file
To get the path of the currently running python.exe
Get the GNOME version
Get the MIME Type
[Python] Get the official file path of the shortcut file (.lnk)
Get the absolute path of the script you are running
[Python] Get the previous month
[Python] Get the script execution directory with an absolute path
Get the number of views of Qiita
Get the complete bitflyer tick data
Get the site update date seriously
Get absolute path of running process
Get the weather with Python requests
Get the weather with Python requests 2
Maya | Get parent nodes in sequence
How to get the Python version
Get the attributes of an object
Get the first element of queryset
Display the absolute path on the Finder
Get the value from the [Django] Form
Get the number of Youtube subscribers
Introducing commands around the Maya reference
Get the host name in Python
Python Note: Get the current month
Get the query string (query string) in Django
[Python Kivy] How to get the file path by dragging and dropping
Learning record (4th day) #How to get the absolute path from the relative path