MoI discussion forum
MoI discussion forum

Full Version: Share your MoI keyboard shortcuts

Show messages:  1-2  3-22  23-42  43-62  63-72

From: Michael Gibson
10 Dec 2022   [#63] In reply to [#62]
Hi Elang, try these ones:

Set Top/Bottom view:

script: /* Set Top/Bottom view */ var vname = 'Top'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode.toLowerCase() != vname.toLowerCase() ) { vp.mode = vname; } else { vp.mode = vname; vp.reverseView( vname ); }

Set Front/Back view:

script: /* Set Front/Back view */ var vname = 'Front'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode.toLowerCase() != vname.toLowerCase() ) { vp.mode = vname; } else { vp.mode = vname; vp.reverseView( vname ); }

Set Right/Left view:

script: /* Set Right/Left view */ var vname = 'Right'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode.toLowerCase() != vname.toLowerCase() ) { vp.mode = vname; } else { vp.mode = vname; vp.reverseView( vname ); }


- Michael
From: Elang
10 Dec 2022   [#64] In reply to [#63]
It works, Michael.

Thank you very much!
From: none (EVALON)
14 Apr 2023   [#65]
Hi All,

I have a quick question that I hope one of you can help with:

Using much of the fine information in this thread I have sorted out most of my shortcut key wishes, however, I can't seem to find out what the shortcut key is for editing the "size" (x,y,z size dialog box) of a selected object. I probably have missed it but would one of you know what it is?

Best regards & wishing you a pleasant day!

Jesper
From: Frenchy Pilou (PILOU)
14 Apr 2023   [#66] In reply to [#65]
Scale, Scale1D, Scale2D ;)

http://moi3d.com/4.0/docs/moi_command_reference11.htm#shortcutkeys

But for that you want exactly no need shortcut it's direct! :)


From: none (EVALON)
14 Apr 2023   [#67] In reply to [#66]
Hi Pilou,

& thanks for your feedback ;-) ... However, I am not sure we are thinking about the same - at least when I insert e.g. Shift+Q=Scale(1D, or 2D) into the Shortcut keys list something else than what I was intending seems to happen ..

Just to clarify: In the "properties panel" description in this link: http://moi3d.com/4.0/docs/moi_command_reference11.htm#shortcutkeys (approximately half way down the page) I would like #4, i.e. the "Edit Size" dialog to open up so that the "cursor" is immediately placed e.g. in the x-axis size dialog box. I hope this make sense ... ? BTW I use the MOI3D V3 version - maybe that makes a difference?

Cheers,

Jesper
From: Michael Gibson
14 Apr 2023   [#68] In reply to [#67]
Hi Jesper, see here for a script that you can put on a shortcut key for opening up the edit size menu:
http://moi3d.com/forum/index.php?webtag=MOI&msg=10769.2

- Michael
From: none (EVALON)
16 Apr 2023   [#69] In reply to [#68]
Hi Michael,

& thanks for your prompt & helpful reply ;-)

However, when I try your script I get an error message saying that " Typeerror: Result of expression 'moi.ui.findElement' [undefined] is not a function. " ... I have attached a screendump of what the moi.ini looks like an the error message. Maybe I need to change something somewhere to make it work ... ?

Cheers, Jesper

Image Attachments:
Moi3D.jpg 


From: Michael Gibson
16 Apr 2023   [#70] In reply to [#69]
Hi Jesper,

re:
> However, when I try your script I get an error message saying that " Typeerror: Result
> of expression 'moi.ui.findElement' [undefined] is not a function. "

The script uses some infrastructure that was added in MoI version 4, but you're using MoI version 3, so that's the problem.

Try this instead, it should work ok in v3:

script: /* Show edit size menu */ moi.ui.showMenu( 'EditSizeMenu.htm', moi.ui.sidePane.PropSizeContainer, 0, 0 );

- Michael
From: none (EVALON)
16 Apr 2023   [#71]
Hi Michael,

Thanks again for helping out with this - I have copied the script to my .ini list and it works fine! ... Much appreciated ;-)

Jesper
From: pafurijaz
21 Apr 2023   [#72]
This topic saved my life..
Now I works too fast, thanks to all!

Show messages:  1-2  3-22  23-42  43-62  63-72