Extrude a poly?

I'm new to MAXScript but not new to coding in general. I've been trying to make a simple code that generates a counter, which counts up from whatever number to.. whatever number. I found and edited a simple code somewhere that does it, which is here:

(
textGrp = point()
for i=0 to 151 do
(
theText = text()
theText.parent = textGrp
theText.wireColor = [0,0,0]
theText.scale = [0,0,0]
if i < 10 then theText.text = "00" + (i as string) else
if i < 100 then theText.text = "0" + (i as string) else
theText.text = i as string
convertto theText editable_poly

animate on
(
at time (sliderTime+i) theText.scale = [1,1,1]
at time ((sliderTime+i) + 1) theText.scale = [0,0,0]
at time ((sliderTime+i) - 1) theText.scale = [0,0,0]
)
)
)

However, after running the code everything comes up in "2D", which is understandable since I'm converting a spline to an editible poly. I've had to teach myself 3DS, and right now I'm stuck as how to extrude, or somehow make the poly "3D".

I'm sure there is a simple answer but I just cannot figure it out.

Thanks,
Ben.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bfmd's picture

Thankyou so much for your

Thankyou so much for your response, I managed to get it extruding fine :D I had searched for it before in the reference manual but this time I got it working.

I hate to ask for more help, but after extruding the face I'm left with the back of the shape hollow; without a face. Is there a way around this, or would I be looking at something entirely different to what I've done? Would it just be worth creating the numbers as actual objects then importing them in properly with the code?

Thanks once again,

Ben.

real08121985's picture

addModifier $ (Extrude

addModifier $ (Extrude amount:20)

search the MAXScript Reference for "addModifier" and "Extrude"

bfmd's picture

Nevermind, I managed to get

Nevermind, I managed to get it working with your method! Thankyou once again, works perfectly

Ben.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.