createPreview Method

Creates a preview animation, optionally providing access to the options available on the Make Preview dialog.

createPreview filename:<string> outputAVI:<boolean> percentSize:<int> \
start:<int> end:<int> skip:<int> fps:<int> \
dspGeometry:<boolean> dspShapes:<boolean> dspLights:<boolean> \
dspCameras:<boolean> dspHelpers:<boolean> dspSpaceWarps:<boolean> dspParticles:<boolean> \
dspBones:<boolean> dspGrid:<boolean> dspSafeFrame:<boolean> dspFrameNums:<boolean> \ 
dspBkg:<boolean> rndLevel:<#smoothhighlights | #smooth | #facethighlights \ 
| #facet | #flat | #hiddenline | #litwireframe | #wireframe | #box> \
useMPCamEffect:<boolean> snippet:<string> \
dspCamViewName:<boolean> autoPlay:<boolean> \
vpPreset:<#highquality | #standard | #performance | #dxmode | #userdefined> \
vpStyle:<#defaultshading | #facets | #flatcolor | #hiddenline | #wireframe | #boundingbox | #ink | #colorink | #acrylic | #tech | #graphite | #colorpencil | #pastel | #clay | #modelassist> 
vpEdgedFaces:<boolean> vpTextures:<boolean>
  

Creates a preview animation sequence using either the last settings in the Make Preview dialog or the optional arguments, if provided.

Available in 3ds Max 2021.1 Update and higher.

These options were added in 3ds Max 2024: