Bone order in bones list
Moderators: Víctor Paredes, Belgarath, slowtiger
Bone order in bones list
Very dumb question guys: I have a lot of bones... "hand left", "foot right", etc. and now I'd like to order them somehow in the dropdown, for more efficiency. Currently they're ordered in the order they were created and, of course, there was a LOT of mind-changing, name changing, etc.
Can it be done, or should I just re-create the whole skeleton?
Thank you!
Ivan
Can it be done, or should I just re-create the whole skeleton?
Thank you!
Ivan
Re: Bone order in bones list
I would imagine the Bones are sorted by ID by default, so in theory - to Sort you would need a script to:
- Inventory the current bones (ID & Name)
- Duplicate each bone, but in alphabetical order
- Assign old relationships to the new bones (i.e. Targets, Parents etc.) with new related ID's
- ReAssign animation properties (i.e. Locking, Binding etc.)
- Delete the original bones
There are probably some bits of this script already out there in Moholand.
- Inventory the current bones (ID & Name)
- Duplicate each bone, but in alphabetical order
- Assign old relationships to the new bones (i.e. Targets, Parents etc.) with new related ID's
- ReAssign animation properties (i.e. Locking, Binding etc.)
- Delete the original bones
There are probably some bits of this script already out there in Moholand.
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
- synthsin75
- Posts: 9964
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Bone order in bones list
It would be easier to make a mod of the bone tool that just displays them in a different order.
But yeah, short of a script, you'd need to recreate the whole skeleton if you really want them in a specific order.
But yeah, short of a script, you'd need to recreate the whole skeleton if you really want them in a specific order.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- synthsin75
- Posts: 9964
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Bone order in bones list
If you haven't recreated your whole skeleton yet, wait. I've found an easy way to sort the bone dropdowns, and I'm almost done with it.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- synthsin75
- Posts: 9964
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Bone order in bones list
Here's a script that will sort all bone dropdowns alphabetically, with auto-named bones listed after all named bones.
https://www.dropbox.com/s/uvt6c1qku5j7v ... s.zip?dl=0
Just unzip and drop this into the scripts/utility folder in your custom content folder.
For interested scripters, this replaces two functions in the lm_utilities, so no stock tools (or even the stock utilities file) needed to be modded.
https://www.dropbox.com/s/uvt6c1qku5j7v ... s.zip?dl=0
Just unzip and drop this into the scripts/utility folder in your custom content folder.
For interested scripters, this replaces two functions in the lm_utilities, so no stock tools (or even the stock utilities file) needed to be modded.
Last edited by synthsin75 on Sat Jul 01, 2017 8:18 pm, edited 1 time in total.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Bone order in bones list
Amazing and elegant. Works a treat, and probably gonna start me on a whole 'nother path of scripting.
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
Re: Bone order in bones list
Luckily, I'm in a completely oposite time zone, apparently Thank you!synthsin75 wrote:If you haven't recreated your whole skeleton yet, wait. I've found an easy way to sort the bone dropdowns, and I'm almost done with it.
It works! Just a note, it disables the "select bone" dropdown button until you've selected any bone by clicking on it. Not a big deal, since I'm a fresh user, might require some adjustment for a long-time user.
Thank you again!
- synthsin75
- Posts: 9964
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Bone order in bones list
That's normal behavior...not my script. I can tell you how to edit the stock tool if it bothers you. Not sure when they changed that, but it's the same going back to at least v11.2.isby wrote:It works! Just a note, it disables the "select bone" dropdown button until you've selected any bone by clicking on it. Not a big deal, since I'm a fresh user, might require some adjustment for a long-time user.
Thank you again!
Anyway, sorted bone lists is something I wanted too.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Bone order in bones list
The link is broken :о((( Does anybody have this script downloaded?
- synthsin75
- Posts: 9964
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Bone order in bones list
I've updated the above link.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/