Animated preview via commandline?

Animated preview via commandline?

Anonymous
Not applicable
392 Views
1 Reply
Message 1 of 2

Animated preview via commandline?

Anonymous
Not applicable

Hi there,

 

I wonder if it is possible in any way to use a commandline-command to create an animated preview of a scene. Does anybody know anything about this?

 

 

Best,

Martin

0 Likes
393 Views
1 Reply
Reply (1)
Message 2 of 2

ads_royje
Alumni
Alumni

hi @Anonymous,

 

there is no direct command line to do so, but there is one to run a maxscript, and the maxscript can generate a preview.

 

The script flow would be :

loadmaxfile "path to scene"

createPreview <with list of arguments>

quitMax #noPrompt

 

You may also need to specify the viewport to preview. (viewport.activeViewportID)

You can also query the preview file "_scene.avi" : (getDir #preview) + "\\_scene.avi"

 

 

So the command line would be :

3dsmax -U MAXScript D:\path\to\script.ms

 

I hope this can help! 🙂

0 Likes