Show messages: All
1
2-11
From: Michael Gibson
Hi Metin,
re:
> I was wondering if it would be possible to zoom all viewports in or out at the
> same time, with one zoom gesture?
Try setting up a shortcut key with this script on it:
script: /* Zoom all viewports out a little */ var vnames = [ 'Top', 'Front', 'Right', '3D' ]; for ( var i = 0; i < 4; ++i ) { moi.ui.mainWindow.viewpanel.getViewport(vnames[i]).zoom( 1.1 ); }
- Michael
From: Metin (METIN_SEVEN)
Great, thanks for your service Michael!
Enjoy your weekend!
From: nameless
and anything below 1 in zoom( x ) field will zoom in! The closer to 1, the smaller the zoom increments. (for example zoom( 0.9 ) )
I have no clue about scripting, but I just tampered with it like a monkey in a spaceship lol
From: Metin (METIN_SEVEN)
Haha, nice to know, thanks!
From: MajorGrubert (CARLOSFERREIRAPINTO)
Hello Michael,
Is this possible in Options (zoom independent and together) and also a short-cut?
Thank you.
From: Michael Gibson
HI Carlos,
re:
> Is this possible in Options (zoom independent and together) and also a short-cut?
There is an option under Options > View > Rotate/Pan/Zoom options > "Link ortho views" which will keep the Top/Front/Right views to be all at the same zoom level. When that is enabled if you zoom in the Top view for example, the Front and Right views will also update.
Is that what you were asking about or is it something different?
- Michael
From: Metin (METIN_SEVEN)
Wow, that's a useful hidden option I hadn't discovered yet, thanks Michael!
From: MajorGrubert (CARLOSFERREIRAPINTO)
Hi Michael,
Yes, but be able to turn it off/on with a short-cut?
Thanks.
From: Michael Gibson
Hi Carlos, you can set up a shortcut key to toggle the "Link ortho views" option on or off with this:
script: /* Toggle link ortho views */ moi.view.linkOrthoViews = !moi.view.linkOrthoViews;
- Michael
From: MajorGrubert (CARLOSFERREIRAPINTO)
Thank you Michael.
Show messages: All
1
2-11