channel_box_plus.utils module

class channel_box_plus.utils.ColourPicker(data)

Bases: object

colour
Returns:Colour
Return type:list[float]
next_main()
next_secondary()
channel_box_plus.utils.get_channel_box()
Returns:Maya’s main channel box
Return type:QtWidget.QWidget
channel_box_plus.utils.get_channel_box_menu()
Returns:Maya’s main channel box menu
Return type:QtWidgets.QMenu
Raises:RuntimeError – When menu cannot be found.
channel_box_plus.utils.get_object(node)
Parameters:node (str) –
Returns:Maya object node
Return type:OpenMaya.MObject
channel_box_plus.utils.maya_to_qt(name)
Parameters:name (str) – Maya path of an ui object
Returns:QWidget of parsed Maya path
Return type:QWidget
Raises:RuntimeError – When no handle could be obtained
channel_box_plus.utils.qt_to_maya(widget)
Parameters:widget (QWidget) – QWidget of a maya ui object
Returns:Maya path of parsed QWidget
Return type:str