diff --git a/animbits b/animbits index 7579d831..6d2108e0 160000 --- a/animbits +++ b/animbits @@ -1 +1 @@ -Subproject commit 7579d83119ad8851a05a229c4e36834f7827d5f3 +Subproject commit 6d2108e05be99bc044b4c013bc9097fb0994db7f diff --git a/docs/source/animbitsUserDocumentation.rst b/docs/source/animbitsUserDocumentation.rst index f198f222..bd3513e8 100644 --- a/docs/source/animbitsUserDocumentation.rst +++ b/docs/source/animbitsUserDocumentation.rst @@ -30,6 +30,7 @@ In the ST main control we can find a falloff channel to control the area of defo :align: center :scale: 95% + SoftTweak Manager GUI --------------------- @@ -41,14 +42,18 @@ By default the SoftTweak is design to be used by shot and not part of a rig. How **File Menu:** + * **Export Selected:** Exports selected ST from the list * **Export All:** Exports all the ST from the list. If search filter is used, will not affect the export. But export will make a distinction between regular SoftTweak and asset SoftTweak * **Import:** Import ST configuration from a file. +**GUI:** + * **Search Filter:** (1) Quick search filter of the SoftTweak list. * **SoftTweaks List:** (2) ST selection list. * **Create Auto Tweak:** Create a tweak based on the current selection. + 1. Select the objects to apply the ST 2. Last element selected should be a control. This will be the parent of the ST. Also the ST will take the Name and the group(set) from the parent 3. Click Crete Auto Tweak @@ -69,13 +74,21 @@ By default the SoftTweak is design to be used by shot and not part of a rig. How * **Suffix Name:** (3) Suffix name for the new ST. -API: +API ----- -To import a softTweak configuration from script editor or Shifter Custom Step: -.. codeblock:: python - from mgear.animbits import softTweaks - softTweaks.importConfigurationFromFile(filePath= path to the .smt configuration file) +.. code-block:: python + + # To import a softTweak configuration from script editor or Shifter Custom Step: + + from mgear.animbits import softTweaks as st + st.importConfigurationFromFile(filePath= path to the .smt configuration file) + + # to export configuration + # list the softtweaks in the scene + softtweaks = st._listSoftModTweaks(is_asset=False) + # export + st.exportConfiguration(softtweaks) Smart reset Attribute/SRT diff --git a/excons b/excons index ef3f5622..b3d5f073 160000 --- a/excons +++ b/excons @@ -1 +1 @@ -Subproject commit ef3f56224299377b4a9cf00c100900bfb50261dc +Subproject commit b3d5f073051fae071e3994b3dd6158b434813e2a