Would it be possible to make a script that cycles between subobjects modes in poly and spline with the mouse scroll (and a hotkey, of course)
Thanks!
Forum topic · Scripts Wanted
By vlad · 2013-08-07
Would it be possible to make a script that cycles between subobjects modes in poly and spline with the mouse scroll (and a hotkey, of course)
Thanks!
vlad · 2013-08-15
I have no idea if this can be done or not, but just having either Ctrl or Caps key to toggle the activation of the scroll to flip thru subobjects. But hey, your script works great as it is!
Many thanks again Miauu, it's appreciated.
miauu · 2013-08-15
Unfortunately, the hotkey can't be assigned to Caps Lock, Ctrl, Shift, Alt.
I realy like how easy is to assign hotkey to any key on the keyboard or any mouse button in Silo. Mouse with 5 buttons + Ctrl, Alt, Shift will gives more than 50 hotkeys, but in Max this is not possible.
Back to topic
miauu · 2013-08-13
I don't find this method very convenient, but.
Go to maxRoot/scripts folder and create new folder with name miauuScripts
Download the attachment, Unzip it and paste two files in the miauuScripts folder. Then drag and drop Macro_MouseWheelCycleSubobjectlevels.mcr in 3ds max. The script can be found in Customize - Customize User Interface - miauu category.
Works with Editabpe Poly, Editable Mesh objects, Edit Poly modifier, UnwrapUVW modiier. I suppose that will work with other objects and modifiers.
Not work with splines. When I have more times I will make it to work with spines.
Assigh a hotkey. When you run the script start scrolling the mouse wheel. As soon as you click with right mouse button in the viewports or click anywhere with the left muse button the script will stop work.
vlad · 2013-08-14
Wow! Thanks so much for taking the time!
Workflow's not quite what I had in mind but works great nonetheless.
Thanks again Miauu!
miauu · 2013-08-14
What you had in mind?
Can you describe step by step how the script should work?
vlad · 2013-08-15
I have no idea if this can be done or not, but just having either Ctrl or Caps key held down to toggle the activation of the scroll to flip thru subobjects. But hey, your script works great as it is!
Many thanks again Miauu, it's appreciated.
.
miauu · 2013-08-12
And the keyboard 1, 2, 3, 4, 5, 6 button will go to the exact sub-object level.
barigazy · 2013-08-12
You mean till five, because "6" is not assigned. I not know which object have 6 sub-levels.
.
miauu · 2013-08-12
Press "6" to exit sub object mode and return to object mode. But this not works in max2014. To go to object mode you have to press the button that is assigned for the current sub object level.
barigazy · 2013-08-12
That's why I esked.
Anyway how are you? This summer heat melt my brain :)
Are you chilling or you working on something "BIG"?
.
miauu · 2013-08-12
My wife and kid are on vacation, I have to go to work. 12h at work, 12h at home. The best is that I have i-net at work, so my nights are not so boring.
My "BIg" work is my second script pack, but since I don't have time to make the videos, one of my nephews will makes them. I hope till the end of the month everything to be ready, but who knows. :)
O_o
barigazy · 2013-08-12
Good luck! You are not the only one in you family who knows mxs. Now you need to rename title for your script pack. Maybe "+ nephew" at the end. :) Just kidding
Did you saw the news about max2014 extension pack which AD will launch in late September. They plan to integrate Pyton finaly.
.
miauu · 2013-08-12
My nephew will make the videos. He knows nothing about mxs, but wants to learn, which is good. :)
Pyton, sounds good for someone who know how to use it, I don't. :)
barigazy · 2013-08-12
Neither I. But it's not difficult to learn. Sintaxes are very clear, similar to mxs but I think that fn's are execute faster then mxs. Another benefits can be integration with Maya, Softimage, C4D, Nuke, Blender (which have very cool functions for modeling) etc. In combination with .net users will have opportunity to build powerful tools.Now it's just a matter of how well they integrate Phyton inside max, but already some UI elements like Caddy (a.k.a. Grip) manipulators are writen in Phyton (for now not good solution). Also BLUR studio use P. for their tools. We will see.
:) wow
barigazy · 2013-08-12
The funniest thing is that our conversation does not match with thread topic.
But anyway ... :)
Artie · 2013-08-12
Max supports that natively btw. Not sure weather it can be done via mouse but via a hotkey('Insert' by default) yes, you can.
vlad · 2013-08-13
Yeah, I was aware of that. I just thought it would be nice to flip though suboject modes with the scroll wheel... I know, I'm lazy basterd ;)
Thanks for replying!
.
miauu · 2013-08-14
Did you tried the script from my last post.