Page 1 of 1

Renaming Smart Bones and Smart Bones actions

Posted: Tue Aug 09, 2022 2:10 pm
by animas3D
I created a smart bone dial but I named it wrong and therefore the action is named wrong.

I wondered, what would be the easiest way to rename the smart bone and the action while keeping everything working?

Thank you.

Re: Renaming Smart Bones and Smart Bones actions

Posted: Tue Aug 09, 2022 4:04 pm
by MrMiracle77
In 13.5, I don't think bone/action associations are tied to their names. So you should be able to rename the bone in the option bar when the bone selector tool is used and then right-click the smart bone action and select rename there.

Re: Renaming Smart Bones and Smart Bones actions

Posted: Tue Aug 09, 2022 5:44 pm
by Greenlaw
animas3D wrote: Tue Aug 09, 2022 2:10 pm I created a smart bone dial but I named it wrong and therefore the action is named wrong.

I wondered, what would be the easiest way to rename the smart bone and the action while keeping everything working?
Since a new Smart Bone Action (SBA) will automatically adopt the name of the selected Bone, I'm guessing you actually wish to rename both the Bone and the associated Actions to something else. If both the Bone and Actions are renamed to the same new name, the SBAs will still work.

To rename a bone, select it and enter a new name for it in the options bar. To rename the SBA, r-click over it and choose Rename.... For the counter-turn SBA, don't forget to keep the number 2 after the name. Easy peasy.

(Update: you can disregard this paragraph because it contains inaccurate info for renaming a Smart Bone Action for a bunch of layers all at once. See the next post for the easy method for renaming the actions.) If you have many instances of the same SBA in use (i.e., it controls a lot of layers,) renaming can get tedious because you need to click on every layer that uses the SBA and rename them individually. Unfortunately, you can't select all the layers that use the SBA and rename the SBA at one go. You must do it one by one and hope you've learn not to make this mistake again. (I think we all have at one time.) :)

Tip: look at the Actions list as you click through the layers; if the Action is associated with the layer, it will be highlighted. That should help the process go a little more quickly.

This should work in any recent version of Moho including Moho 13.5.x and Moho 12.5.x but not Moho 13.0.x. This is because in 13.5.x and 12.5.x, Moho use the names to link Bones and Smart Bones Actions, but Moho 13.0.x used IDs. (Which was the primary reason many Moho users rejected Moho 13.0.x...this change introduced many problems when repurposing rig parts and working with multiple characters, and it was reverted to the name-based system in Moho 13.5.)

Re: Renaming Smart Bones and Smart Bones actions

Posted: Tue Aug 09, 2022 5:55 pm
by Greenlaw
I took another look at renaming a Smart Bone Action for many layers all at once and it's actually MUCH easier than I thought. Please disregard the method described in the above post.

To rename the Smart Bone Action for multiple layers easily and quickly, just rename the Smart Bone and then rename the Smart Bone Action for that bone. Moho will automatically assign the renamed Smart Bone Action for all of the layers that use it. Yes, it's that simple!

Here's how I tested...

The Setup
1. Create a bone layer
2. Add a vector layer inside the bone layer and draw a box drawn inside the layer.
3. In the Bone layer, create a bone and call it 'Boney'.
4. With 'Boney' selected, create an Action by clicking the New Action button in the Actions window. A Smart Bone Action automatically named 'Boney' appears in the list.
5. Keyframe the Smart Bone range for 'Boney' from 1 to 24.
6. Select all the points of the box shape and move it vertically at frame 24.
7. Jump back into the Mainline by double-clicking Mainline. You now have a Smart Bone Dial (SBD) called 'Boney' that moves the box shape vertically.
8. Duplicate the vector layer twice so there are three vector layers total, and then offset two of the layers so all three are side-by-side.
9. The Boney Smart Bone should now move all three box shapes vertically side-by-side.

The Test
1. Rename the bone called 'Boney' to 'Bonz'
2. Turn the 'Bonz' SBD...the boxes should not move because renaming the bone has broken the SBD.
3. Now, with the bone called 'Bonz' selected, select the Smart Bone Action called 'Boney' in the Actions window and rename it 'Bonz' by r-clicking over it and choosing Rename.
4. Click on any of the vector layers and you should see that the associated Action for each layer is now called 'Bonz'.
5. Turn the 'Bonz' SBD. It should now move all three shapes vertically.

So, renaming the Actions for each layer should not be necessary. Just rename the bone and the bone's Smart Bone Action to match.

Hope this helps.