PDA

View Full Version : Simple Maxscript


Animare
08-04-2002, 10:59 PM
Hi, Im new to Maxscript but was wondering would it be possible to make a script that extrudes a face of an editable mesh by x amount then scales it by x amount, or is it not possible to use a script in sub-object mode?

Thanks

Fozzie
08-05-2002, 01:00 AM
You can control almost everything with Maxscript including your wish to extrude and bevel a set of selected face(s) by X amount. You can check the maxscript documentation by pressing F1 in the listener window to access the specific code in the modifier that does this, or you can try using the Listener window to copy & paste the necessary code that you want into your script.

If you would like a better description of what to do you will need to be more specific with your details.

Foz

Animare
08-05-2002, 01:38 AM
Thanks man, basically I was trying to like record a macro, so exactly what I'm trying to do is say I got a cube, an editable mesh, I want to make a Maxscript, that extrudes a face by 5 units and then scales it 5 units for example, thats just something I'm trying to do so I can sorta see how it all works.

Chris
08-05-2002, 02:12 AM
you can see most of what goes on in max through the listener window. Just right click on the mini listener at the lower left hand side & open it (make sure the macrorecorder is turned on in the maxscript menu). Then select your cube, convert it to a poly object, go to subobject level, extrude & outline (or whatever). Have a look in the listener window, you can pull that apart & use the bits you want...

Animare
08-06-2002, 01:49 AM
Cool thanks man, I need to get a bit more knowledgeable about the whole programming side.

CGTalk Moderation
01-13-2006, 01: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.