ScriptSpot home

Qpreview

Downloads

3ds Max compatibility
See original listing claims
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
2.0
From original requirements
2008 or newer
Original version requirement
2008+
Author’s update date
Legacy votes
12
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

More by this author

This script will make preview renders from the viewport using the default 'make preview' dialog, when completed it renames the preview file to match the camera's name.

This makes it easier to generate preview files for a ruff edit, without having to manually rename the preview files again and again.

Setup & notes

Intallation:
1) Drag and Drop script into 3dsMax
2) now in max go to ‘Customize/Customize user interface
3) Select 'JDBgraphics' from the 'categories' dropdown
4) drag 'qPreview' to a toolbar of choice, or assign a hotkey
5) save the interface and close the customize dialog.

Updated to 2.0:
Added error handling and code clean up

Comments (1)
Martin Solarte

Useful Script, Thanks

Found a little mistake that didnt let it run. the variable trg was used the first time before being defined, i crossed it below, In anycase it did what i needed it to do, Thanks for sharing.

 

macroScript qPreview category:"JDBgraphics"
(
    src=     ((getDir #preview)+"/_scene.avi") 
    if (doesFileExist src) do
    (   
        deleteFile  trg
    )       
   
    actionMan.executeAction 0 "40033"
   
    if (doesFileExist src) then
    (
        a=getActiveCamera()

        if (a!=undefined) then (
               
            trg=     ((getDir #preview)+"/"+a.name+".avi")
       
            print (src+ " > " + trg)

            if (doesFileExist src) do
            (   
                deleteFile  trg
                renameFile  src trg
                shellLaunch trg  "/play /loop"

            )   
        ) else (
                print "No camera used for preview, default preview name used"
        )
       
    ) else (
        print "Preview Canceled";
    )

)