getSelection()
Clear the active file selection to be loaded by consecutive operators.
getErrorMessage()
Get the current error message.
Returns:
The error message from previous operator invokation if it raisedan error, or the empty string if the operator exited without errors.
getMorphs(ob, type, category=None)
Get all morph names and values of the specified type from the object.
Returns:
A dictonary of morph names - morph values for all morphs in the specified morphsets.
Arguments:
- ob: Object (armature or mesh) which owns the morphs
- type: Either a string in ["Units", "Expressions", "Visemes", "Body", "Custom", "Standardjcms", "Flexions", "Customjcms"],
- category (optional): The category name for Custom morphs.
getSelection()
Get the active file selection to be loaded by consecutive operators.
Returns:
The active list of file paths (strings).
setSelection(files)
Set the active file selection to be loaded by consecutive operators.
Arguments:
- files: A list of file paths (strings).
setSilentMode(value)
In silent mode, operators fail silently if they encounters an error.This is useful for scripting.
Arguments:
- value: True turns silent mode on, False turns it off.