Layer Selection Buttons

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Stan
Posts: 221
Joined: Sun Apr 19, 2009 3:22 pm

Layer Selection Buttons

Post by Stan »

This tool allows you to assign any layer in the project to a button for quick selection and visibility control.



Download link: http://mohoscripts.com/script/sz_layer_ ... on_buttons
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
Víctor Paredes
Site Admin
Posts: 5818
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Layer Selection Buttons

Post by Víctor Paredes »

Ha! I love it.
Thanks, Stan!
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
Daxel
Posts: 1088
Joined: Wed Mar 27, 2019 8:34 pm

Re: Layer Selection Buttons

Post by Daxel »

Thank you! It looks very handy. I love how Moho's community seems to be more active since the great news from Mike and Victor.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Layer Selection Buttons

Post by Greenlaw »

That's pretty cool Stan. Downloading now.

From what I see in the video, Layer Selection Buttons reminds me of Wes' Layer Shortcuts. I like Wes tool because it lets me place my selection buttons right inside the workspace as part of my rig setup...visually, the result is intuitive and looks slick. But your approach seems easier and quicker to set up.

Between the two systems, there's something for everybody here! :)

@Moho's devs, in the future, I'd like to see Moho get a Button Layer. This can be a group layer where we add other Moho layers like Note (my preference with Wes' system) or a graphics layer that we can enable as clickable buttons to select other layers or to toggle 1-frame Smart Bone Actions or to toggle any keyframeable Moho properties. (Personally, I would mainly use the buttons to select Switch layers for the Switch Selection window.)
Last edited by Greenlaw on Mon Jan 11, 2021 7:51 pm, edited 2 times in total.
Stan
Posts: 221
Joined: Sun Apr 19, 2009 3:22 pm

Re: Layer Selection Buttons

Post by Stan »

Yeah, I would love to see more opportunities for scripts - not just tools and buttons, but also panels, floating and dockable.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
User avatar
SimplSam
Posts: 1218
Joined: Thu Mar 13, 2014 5:09 pm
Location: London, UK
Contact:

Re: Layer Selection Buttons

Post by SimplSam »

We definitely need scripting access to a new AdvancedDialog with all the features of the SimpleDialog plus support for additional Widgets like:

- Images (Bitmap/SVG) for panes and also panel backgrounds
- Graphical Views with freeform script drawable graphics
- Tabs (for improved dialog organisation)
- Audio sounds and effects? - maybe just for fun :roll:

All combined with the ability to process Mouse, Keyboard & Widget events of the AdvancedDialog, and Frame change events from the main timeline.

Recently I have been playing around with the QT widget UI toolkit - and the addition of an advanced dialog panel for Moho would literally open up so many new worlds, it has so much potential.

And yes - all Tools Panels should be truly Dockable (freely Drag and Dockable around the screen), with the added ability to save preferred workspace layouts. I have seen many requests for full Dockability. It is a popular and long requested feature.
Moho 14.3 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.3 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam


Sam
Post Reply