Page 2 of 2
Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Thu Dec 16, 2021 11:54 pm
by synthsin75
Daxel wrote: ↑Thu Dec 16, 2021 11:44 pm
I'm a programmer now
That's where it starts. Follow the white rabbit.

Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Wed Aug 09, 2023 2:07 am
by Greenlaw
Hi Davoodice2!
I wondered if your script could be modified to work with Switch layers by simply replacing every instance of 'bone' with 'switch,' and yes, this works perfectly!
I needed something like this because using Alt+Shift-Click to select a Switch layer's artwork doesn't select the Switch layer when the artwork is contained inside a sub-group layer; instead, this combo selects the sub-group layer. But if I Alt-click the art and then click your button, it jumps directly to the Switch. This will be very useful to me for quickly selecting and loading the Switch layer into the Switch Selection window.
BTW, my preference is for the stack to remain uncollapsed, so this is fine for me. IMO, the less screen clutter I have to look at while animating, the better.
One question: in the first post for the original Select Parent Bone Layer version, you mentioned assigning the tool to a keyboard shortcut. How does one do that? I would like to do this for the Switch Layer mod.
Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Wed Aug 09, 2023 2:44 am
by synthsin75
It's a button script. So assigning a tool shortcut just activates it.
Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Wed Aug 09, 2023 3:53 am
by Greenlaw
Derp.
All this time, I thought the Keyboard Shortcuts window accessed only native Menu commands. I never noticed it also lists button tools, including third-party tools.
Assigned
Select Switch Layer to
v because it's available and it's close to the
Alt key (to select the art layer.) Works perfectly!
(Update for January 31, 2025: I reassigned the shortcut to Shift+S to make it easier to remember. Watch my upcoming tutorial video for a demonstration and download link.)
Thanks, Wes!
Also, thanks to Davoodice2 for creating the original Select Bone Layer tool, and thanks to Daxel for directing me over here to check it out.
Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Wed Aug 09, 2023 4:00 am
by Greenlaw
@Davoodice2, would it be okay if I post the mod here? You're still credited as the script creator because all I did was swap 'bone' for 'switch' in the script. I can include a new button icon.
Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Wed Aug 09, 2023 2:11 pm
by lucasfranca
I would like this add on!
Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Wed Aug 09, 2023 6:26 pm
by Greenlaw
lucasfranca wrote: ↑Wed Aug 09, 2023 2:11 pm
I would like this add on!
If you need this now, it's easy to update the existing script...
1. Make a copy of the
DV_select_Bone_layer.lua script and rename it to
DV_select_Switch_layer.lua
2. Open the file in a text editor and use Search & Replace to individually replace
'bone' with
'switch'. Take care to respect the existing letter casing. (i.e., 'bone' becomes 'switch' and 'BONE' becomes 'SWITCH'.)
3. Download and add this button icon:
DV Select Switch Layer button icon
4. Add a keyboard shortcut for it. I recommend the
v key.
To use it: Alt-click on the visible Switch layer artwork in the workspace (i.e., character's mouth, for example.) Then click the button or press v (or whichever shortcut you assigned to it.) The tool selects the Switch layer, and the Switch layer loads into the Switch Selection Window for animation, even when the art is inside its own sub-group.
Hope this helps.
Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Sat Aug 12, 2023 1:33 pm
by davoodice2
Hey friend. Of course, please do that. I am busy these days by 3D works.
Thank you great Ideas.
Re: DV SELECT PARENT BONE LAYER V 1.8
Posted: Sat Aug 12, 2023 7:23 pm
by Greenlaw
Hi Davoodice2,
Great! I'll post the revised files then.
Thanks for the permission and for all your work!
LGD Select Switch Layer
Posted: Sun Feb 02, 2025 3:41 pm
by Greenlaw
Hi everyone! Sorry for taking so long to post this, but if you haven't already modified the script yourself, you can download the
Select Switch Layer variation of the script from here...
lgd_SelectSwitchLayer.zip
To learn more about how I use Select Switch Layer, as well as Davoodice's original
Select Bone Layer version, watch the two-part tutorial I posted on the
Little Green Dog YouTube Channel here...
Moho Tips! 7 Ways To Switch Layer! Part 1
Moho Switch Layer Tips! Part 2
Most of the relevant info is in Part 2, but there's a lot of good info leading up to it in Part 1. I hope you enjoy the videos and find them helpful.
Thanks again to Davoodice for creating the original Select Bone Layer version of the script.