Button script to swap the view to Wireframe and back
Moderators: Víctor Paredes, Belgarath, slowtiger
Button script to swap the view to Wireframe and back
A button-script to quickly change the view to Wireframe and back.
If you want a different mode than Wireframe, you can easily alter it inside the script file (lines 49-51 will guide you through).
Download here: http://mohoscripting.com/uploads/1/sz_s ... w_mode.zip
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Re: Button script to swap the view to Wireframe and back
Is it possible while working "Transform point tool" if we press "swap view mode" (with assigned shortcut key) and when release return to "Transform point tool" selection instead of "swap view mode" tool selection.
Many thanks.
Many thanks.
I love Moho
Re: Button script to swap the view to Wireframe and back
Thanks Stan!
You can't have everything. Where would you put it?
Re: Button script to swap the view to Wireframe and back
That's exactly how it works now. Isn't it?
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Re: Button script to swap the view to Wireframe and back
Thank you very much San!
It is working what I expected.
It is working what I expected.
I love Moho
Re: Button script to swap the view to Wireframe and back
Thanks for the script. really handy but would have been nice if we could define our wireframe view cos i personally would like to have *STROKES showing.
Re: Button script to swap the view to Wireframe and back
toonscale, you can easily customize the script for your own preferences.
Open the script's .lua file with a "plain text" editor (I recommend Notepad++), and find the following line:
(If your text editor is capable of showing line numbers, it's line 51)
So, to make it strokes instead of wireframe, change the line to the following:
The entire list of available options can be found here: http://mohoscripting.com/modules/MOHO#L ... ay_quality
You can combine multiple options using a plus sign, for example:
Open the script's .lua file with a "plain text" editor (I recommend Notepad++), and find the following line:
Code: Select all
SZ_SwapViewMode.modeToSwap = MOHO.LDQ_WIREFRAME
So, to make it strokes instead of wireframe, change the line to the following:
Code: Select all
SZ_SwapViewMode.modeToSwap = MOHO.LDQ_OUTLINES
You can combine multiple options using a plus sign, for example:
Code: Select all
SZ_SwapViewMode.modeToSwap = MOHO.LDQ_OUTLINES + MOHO.LDQ_LABELS
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
Re: Button script to swap the view to Wireframe and back
Hi, When selecting "swap view mode" image layer also hiding. Is it possible only the selected object will be in wireframe mode like layer visible on/off.
I love Moho
Re: Button script to swap the view to Wireframe and back
You can try changing the line 51 to:
Code: Select all
SZ_SwapViewMode.modeToSwap = MOHO.LDQ_WIREFRAME + MOHO.LDQ_IMAGES
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho