modulePresetEditor
=== Author: Assaf Ben Zur ===
This tool was designed to manage module presets.
As Mansur-Rig modules comatin many attrbiutes, it is sometimes more convenient to use a predefined preset to speed up the wrokflow.
Mansur-Rig includes some module presets, although this was designed mainly to allow usesrs to create their own presets, essentially saving the module settings' state.
Classes
ExportPresetDialog [Class]
Constructor: ExportPresetDialog(parent(str) ; [default: None]) Inherits from: QtWidgets.QDialog Class Members:
Methods:
ExportPresetDialog methods
getInfo [ExportPresetDialog class method]
Constructor: | getInfo(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
MnsModulePresetEditor [Class]
Module preset Tool UI Class.
Constructor: MnsModulePresetEditor(parent(str) ; [default: mnsUIUtils.get_maya_window()]) Inherits from: form_class, base_class Class Members:
Methods:
MnsModulePresetEditor methods
loadPreset [MnsModulePresetEditor class method]
Apply the selected preset onto the settings window
Constructor: | loadPreset(self, kwargs) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Connect all UI Signals.
Constructor: | connectSignals(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Export current settings window state as a preset.
Constructor: | exportPreset(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
From the current preset, read the current UI state.
This method will return a formatted data assembly of all values and fields within the module-settings tab
Constructor: | readCurrentModuleValues(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Import a preset from file
Constructor: | importPreset(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Initialize any custom module presets paths that already exist within the data collect json.
Constructor: | gatherAdditionalModulePresetsPaths(self, kwargs) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Initialize the UI display
Constructor: | initlizeUI(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Read a preset from the selected file input
Constructor: | readPresetFile(self, filePath = "") |
Return: | None |
Arguments: |
|
Optional Arguments: |
Read the curretly selected preset
Constructor: | readPreset(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Show window method.
Constructor: | loadWindow(self) |
Return: | None |
Arguments: |
|
Optional Arguments: |
initialize data into the UI
Constructor: | initializeView(self, selection = None) |
Return: | None |
Arguments: |
|
Optional Arguments: |
Defenitions
loadModulePresetEditor
Load the module preset window, avoid UI duplication.
Constructor: loadModulePresetEditor(parent=mnsUIUtils.get_maya_window()) Return: None Arguments:
Keyword Arguments: