Tutorial Quick preview generate error?

macroScript QuickPreview category:"HowTo"

(
preview_name = (getDir #preview)+"\quickpreview.avi"

view_size = getViewSize()

anim_bmp = bitmap view_size.x view_size.y filename:preview_name

for t = animationrange.start to animationrange.end do

(
slidertime = t

dib = gw.getViewportDib()

copy dib anim_bmp

save anim_bmp

)

close anim_bmp

gc()

ramplayer preview_name ""

)

Comments

Comment viewing options

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

copy/paste error maybe, but

copy/paste error maybe, but error is in line 3 (backslash):
you write "\quickpreview.avi" - correct is "/quickpreview.avi"

my recent MAXScripts RSS (archive here)

Comment viewing options

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