skinning.gui.dcc module

skinning.gui.dcc.get_main_window()
Returns:Maya main window
Raises:RuntimeError – When the main window cannot be obtained.
skinning.gui.dcc.maya_to_qt(name, type_=<sphinx.ext.autodoc._MockObject object>)
Parameters:
  • name (str) – Maya path of an ui object
  • type (cls) –
Returns:

QWidget of parsed Maya path

Return type:

QWidget

Raises:

RuntimeError – When no handle could be obtained

skinning.gui.dcc.qt_to_maya(widget)
Parameters:widget (QWidget) – QWidget of a maya ui object
Returns:Maya path of parsed QWidget
Return type:str