Skip to content

LODsTool


=== Author: Assaf Ben Zur ===

This simple animation tool was created to allow animators to space switch and IK->FK switch easily.

This tool is selection based. Please select controls to enable relevant capabilities.

For spaces, simply select the controls you want to act upon, choose your target spaces, and press "switch". This will switch the space, while maintaining the controls's transforms, using keys created automatically.

For Limbs, simple select any control/s for the limbs that you wish to act upon, and press the relevant button- To-IK or To-FK.

This will switch the limb/controls to the selected state.

This tool also includes Auto-Key switches, as well as a sequence and bake modes.



Classes


MnsLodsTool [Class]

Spaces Tool UI Class.


Constructor: MnsLodsTool(parent(str) ; [default: mnsUIUtils.get_maya_window()])
Inherits from: form_class, base_class
Class Members:
    • rigTops
    • rigTop
    • puppetRoot
    • namespace
    • rootGuide
    • lodVisAttr
Methods:

MnsLodsTool methods


addLod [MnsLodsTool class method]

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

addSelectedItems [MnsLodsTool class method]

Constructor: addSelectedItems(self, index = 0)
Return: None
Arguments:
  • self
  • index(int) ; [default: 0]
Optional Arguments:

clearALLLods [MnsLodsTool class method]

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

connectSignals [MnsLodsTool class method]


Connect all UI Signals.

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

convertLodsDictKeysToInts [MnsLodsTool class method]

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

deleteLOD [MnsLodsTool class method]

Constructor: deleteLOD(self, index = 0)
Return: None
Arguments:
  • self
  • index(int) ; [default: 0]
Optional Arguments:

drawLODsView [MnsLodsTool class method]

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

initializeUI [MnsLodsTool class method]

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

initializeView [MnsLodsTool class method]

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

loadWindow [MnsLodsTool class method]


Show window method.

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

openMenu [MnsLodsTool class method]

Constructor: openMenu(self, position)
Return: None
Arguments:
  • self
  • position
Optional Arguments:

readDataFromUI [MnsLodsTool class method]

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

removeSlectedItems [MnsLodsTool class method]

Constructor: removeSlectedItems(self, index = 0)
Return: None
Arguments:
  • self
  • index(int) ; [default: 0]
Optional Arguments:

setAttrHost [MnsLodsTool class method]

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

setLodStyle [MnsLodsTool class method]

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

setRigTop [MnsLodsTool class method]

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

setSelectedItems [MnsLodsTool class method]

Constructor: setSelectedItems(self, index = 0)
Return: None
Arguments:
  • self
  • index(int) ; [default: 0]
Optional Arguments:

updateLODAttrState [MnsLodsTool class method]

Constructor: updateLODAttrState(self, index = 0)
Return: None
Arguments:
  • self
  • index(int) ; [default: 0]
Optional Arguments:

writeData [MnsLodsTool class method]

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


Defenitions


loadLodsTool

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


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