Skip to content

moduleVisUI


=== Author: Assaf Ben Zur ===

mnsModuleVisUI

A simple UI to control puppet's module animation controls visibility.



Classes


MnsModuleVisUI [Class]

Main UI Class


Constructor: MnsModuleVisUI(parent(str) ; [default: mnsUIUtils.get_maya_window()])
Inherits from: form_class, base_class
Class Members:
    • bodyLOHolder
    • facialLOHolder
    • layoutHolders
    • rigTopSubGrpVisCallbackID
    • newSceneCallback
    • sceneOpenedCallback
    • puppetRoot
    • rigTop
    • rigTops
    • moduleAttrs
    • btnDict
    • allBtnDict
    • layoutByAttrs
Methods:

MnsModuleVisUI methods


changeModuleVisState [MnsModuleVisUI class method]

Constructor: changeModuleVisState(self, attr, dummy)
Return: None
Arguments:
  • self
  • attr
  • dummy
Optional Arguments:

clearLocalVars [MnsModuleVisUI class method]

Constructor: clearLocalVars(self)
Return: None
Arguments:
  • self
Optional Arguments:

connectSignals [MnsModuleVisUI class method]


Connect all UI signals

Constructor: connectSignals(self)
Return: None
Arguments:
  • self
Optional Arguments:

deleteCallBacks [MnsModuleVisUI class method]

Constructor: deleteCallBacks(self)
Return: None
Arguments:
  • self
Optional Arguments:

destroyAction [MnsModuleVisUI class method]

Constructor: destroyAction(self, dummy = None)
Return: None
Arguments:
  • self
  • dummy(str) ; [default: None]
Optional Arguments:

destroyRigTopTab [MnsModuleVisUI class method]

Constructor: destroyRigTopTab(self)
Return: None
Arguments:
  • self
Optional Arguments:

destroyUI [MnsModuleVisUI class method]

Constructor: destroyUI(self)
Return: None
Arguments:
  • self
Optional Arguments:

detarmineAttrType [MnsModuleVisUI class method]

Constructor: detarmineAttrType(self, attr)
Return: None
Arguments:
  • self
  • attr
Optional Arguments:

drawModuleRow [MnsModuleVisUI class method]

Constructor: drawModuleRow(self, attr = None, layoutParent = None)
Return: None
Arguments:
  • self
  • attr(str) ; [default: None]
  • layoutParent(str) ; [default: None]
Optional Arguments:

drawRigTopBoolRow [MnsModuleVisUI class method]

Constructor: drawRigTopBoolRow(self, attr)
Return: None
Arguments:
  • self
  • attr
Optional Arguments:

drawRigTopEnumRow [MnsModuleVisUI class method]

Constructor: drawRigTopEnumRow(self, attr)
Return: None
Arguments:
  • self
  • attr
Optional Arguments:

drawUI [MnsModuleVisUI class method]

Constructor: drawUI(self)
Return: None
Arguments:
  • self
Optional Arguments:

eventFilter [MnsModuleVisUI class method]


Override event filter to catch the close trigger to delete the callback

Constructor: eventFilter(self, source, event)
Return: None
Arguments:
  • self
  • source
  • event
Optional Arguments:

filterRows [MnsModuleVisUI class method]

Constructor: filterRows(self)
Return: None
Arguments:
  • self
Optional Arguments:

getAttrsFromPuppetRoot [MnsModuleVisUI class method]

Constructor: getAttrsFromPuppetRoot(self)
Return: None
Arguments:
  • self
Optional Arguments:

getUITabState [MnsModuleVisUI class method]

Constructor: getUITabState(self)
Return: None
Arguments:
  • self
Optional Arguments:

initializeRigTopTab [MnsModuleVisUI class method]

Constructor: initializeRigTopTab(self)
Return: None
Arguments:
  • self
Optional Arguments:

initializeUI [MnsModuleVisUI class method]

Constructor: initializeUI(self)
Return: None
Arguments:
  • self
Optional Arguments:

loadWindow [MnsModuleVisUI class method]


Main UI load

Constructor: loadWindow(self)
Return: None
Arguments:
  • self
Optional Arguments:

refresh [MnsModuleVisUI class method]

Constructor: refresh(self)
Return: None
Arguments:
  • self
Optional Arguments:

setGlobAllTrigger [MnsModuleVisUI class method]

Constructor: setGlobAllTrigger(self)
Return: None
Arguments:
  • self
Optional Arguments:

setGlobPrimariesTrigger [MnsModuleVisUI class method]

Constructor: setGlobPrimariesTrigger(self)
Return: None
Arguments:
  • self
Optional Arguments:

setGlobSecondariesTrigger [MnsModuleVisUI class method]

Constructor: setGlobSecondariesTrigger(self)
Return: None
Arguments:
  • self
Optional Arguments:

setGlobTertiariesTrigger [MnsModuleVisUI class method]

Constructor: setGlobTertiariesTrigger(self)
Return: None
Arguments:
  • self
Optional Arguments:

setRigTop [MnsModuleVisUI class method]

Constructor: setRigTop(self)
Return: None
Arguments:
  • self
Optional Arguments:

setRigTopBoolAttrState [MnsModuleVisUI class method]

Constructor: setRigTopBoolAttrState(self, btn, attr, setCurrentState = False)
Return: None
Arguments:
  • self
  • btn
  • attr
  • setCurrentState(bool) ; [default: False]
Optional Arguments:

setRigTopBtnState [MnsModuleVisUI class method]

Constructor: setRigTopBtnState(self, visBtn, typeBtn, attr, btnType = 0, setCurrentState = False)
Return: None
Arguments:
  • self
  • visBtn
  • typeBtn
  • attr
  • btnType(int) ; [default: 0]
  • setCurrentState(bool) ; [default: False]
Optional Arguments:

setRowVisBasedOnState [MnsModuleVisUI class method]

Constructor: setRowVisBasedOnState(self, attrKey)
Return: None
Arguments:
  • self
  • attrKey
Optional Arguments:

setRowsVisBasedOnState [MnsModuleVisUI class method]

Constructor: setRowsVisBasedOnState(self)
Return: None
Arguments:
  • self
Optional Arguments:

toggleAllStateForRow [MnsModuleVisUI class method]

Constructor: toggleAllStateForRow(self, attr)
Return: None
Arguments:
  • self
  • attr
Optional Arguments:

updateRigTopUIState [MnsModuleVisUI class method]

Constructor: updateRigTopUIState(self)
Return: None
Arguments:
  • self
Optional Arguments:


Defenitions


loadModuleVisUI

Load the Def Serach UI from globals, avoid UI duplication.


Constructor: loadModuleVisUI()
Return: None
Arguments:
Keyword Arguments:


rigTopSubGrpEnumChangedCB

Constructor: rigTopSubGrpEnumChangedCB(msg, plug, otherPlug, clientData, **kwargs)
Return: None
Arguments:
  • msg
  • plug
  • otherPlug
  • clientData
  • **kwargs
Keyword Arguments: