Hi,
I am trying the Py3dsMax python tool.
I took this max script exemple and try to convert it in python.
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 ""
)
I can’t translate these commands
anim_bmp = bitmap view_size.x view_size.y filename:preview_name
copy dib anim_bmp
save anim_bmp
in a pythonic syntax.
Does anybody have an idea or some code example for Py3dsMax?
Thanks lucas