Skip to content

Instantly share code, notes, and snippets.

View tanaydimri's full-sized avatar

Tanay Dimri tanaydimri

View GitHub Profile
from shiboken2 import wrapInstance
from PySide2 import QtGui, QtCore, QtUiTools, QtWidgets
import maya.OpenMayaUI as omui
from maya.app.general.mayaMixin import MayaQWidgetDockableMixin
def maya_main_window():
"""
This function gets the pointer to the Maya's Main window.
Our window will be parented under this.