PDA

View Full Version : Extrude Script problem.


TheDevil[DK]
12-28-2002, 02:51 AM
Extrude Script problem.

Hi I'm a little new on maxscript and I have a little problem...

I'm doing a new Extrude floater for max 5 (that works like the one in v4), so I don't have to open the the little extrude window each time I have to do some precise extrusions

This is how it looks:

spinner maextrude "Extrude: " range:[0,10000,1] fieldWidth:43 type:#float
on maextrude changed do $.faceExtrudeHeight = maextrude.value

-- problem: When I change the Spinner it doesn't give me any visual feedback in the viewport.. How can I get that ?

kary
12-28-2002, 03:30 AM
Not exactly what your looking for, but here is what I use.

macroScript AsmEXT
category:"Whatever"
toolTip:"Small-Extrude"

(
$.faceExtrudeHeight = .25
$.EditablePoly.buttonOp #extrude
)


I have it assigned to a hotkey, and then a single click gives a poly that you pull out with move/rotate etc. Quite similar to the old "right click the spinner" method.

LFShade
12-28-2002, 05:24 AM
You might try forcing a redraw, if that's what's causing the problem. You can look this up in the MXS online help to figure out how to do it. Sorry I can't be of more help right now, but Max is not handy at the moment:shrug:

CGTalk Moderation
01-14-2006, 01:00 AM
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.