Notifications
Clear all
[Closed] Simple Grab Viewport script
Jun 06, 2021 7:32 pm
I know there are many similar tools around, but it there any which do simple active viewport screenshot (actial size, actual AO and Shadows settings) and save it automatically (maxfilepath + “\images\” + getFileNameFile maxfilename + _index + “.jpg”)
3 Replies
Jun 06, 2021 7:32 pm
Read about viewport.getViewportDib in mxs reference. Bitmap Value section of the reference contains a few examples how to load and save max bitmaps.
Jun 06, 2021 7:32 pm
Thanks
however, I’m total zero in maxscript.
happy to pay for the development
Jun 06, 2021 7:32 pm
(
if makeDir (maxfilepath + "images") then
(
bmpFilePath = (maxfilepath + "images\\" + getFileNameFile maxfilename + "_" +(timestamp() as string) + ".jpg")
vptGrabBMP = gw.getViewportDib()
vptGrabBMP.filename = bmpFilePath
save vptGrabBMP
close vptGrabBMP
)
)