PDA

View Full Version : MAX Script help


AXE
09-18-2002, 08:10 AM
hey guys,

anyone can help me creating a Max Script? I did not find anything like this, so I decided to try and make my own script, but I'm a newbie (just to avoid the words "COMPLETE IGNORANT" :p ) about Max scripting.

When I model something, I like hiding all the UI to focus on the model itself, and I often need to apply MeshSmooth to see what the mesh looks like with 1 or 2 MeshSmooth iterations. What I need to do is a simple script that, when running, applies a MeshSmooth modifier to the selected objects; then it pops up a floater (floating window) with a slider; moving the slider, it applies from 0 to 3 iterations of MeshSmooth to the object. It seems not too difficult...but, as I said before, I'm a complete ignorant of Max scripting (and programming languages).

Anyone can help me please??

tnx,

AXE

Equinoxx
09-18-2002, 08:55 AM
you don't realy need script for this . . .

just press ctrl-x to go to expertmode [only the menu & timeslider will stay, the commandpanel and such will be gone]

and bind a key to nurmstoggle [assuming you're using editable poly]

gaggle
09-18-2002, 09:10 AM
You could link up a Viewport Slider thing to the Meshsmooth iteration number, and get with the mad interactive sliding from there. UI or no UI.

There's either a plugin, or the functionality is already there, to assign a keyboard shortcut to toggling the Show End Results on and off. You should be able to go all bonkers just like you want it then. Or as Equinoxx says, the NURMS toggle.. which sounds very clever. In that case you could just bind the Viewport Slider to the NURMS iteration spinner.

AXE
09-18-2002, 11:18 AM
ok guys!

tnx for your help! I guess the slider connecetd to the MeshSmooth iterations will do.

AXE

CGTalk Moderation
01-13-2006, 04:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.