Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This code is provided in the manual:
from maya import OpenMayaUI as omui
omui.MQtUtil.mainWindow()
ptr = omui.MQtUtil.mainWindow()
but in Python API 2.0, there is no "MQtUtil".
Therefore, my conclusion is that if you want to use Python API2.0, you cannot use PySide2.
Is that right?
Solved! Go to Solution.