This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Maya/QT UI template | |
| Maya 2023 | |
| """ | |
| import maya.cmds as cmds | |
| import maya.mel as mel | |
| from maya import OpenMayaUI as omui | |
| from shiboken2 import wrapInstance | |
| from PySide2 import QtUiTools, QtCore, QtGui, QtWidgets |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import unreal | |
| import sys | |
| from functools import partial # if you want to include args with UI method calls | |
| from PySide2 import QtUiTools, QtWidgets | |
| """ | |
| Be sure to add your default python modules directory path to Unreal: | |
| Project Settings -> Python -> Additional Paths | |
| Default location of installed modules: |