[script] CaptureViewport aborts without error

Date : Wed, 6 Dec 2006 15:58:42 -0500
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : [script] CaptureViewport aborts without error
Hello,

Trying to script viewport captures, using the CaptureViewport()
command. This is done in XSI, not XSIBATCH.

First, I set the parameters, then run the command. The capture
actually starts, but aborts at the very first frame, without any error
being logged. This happens no matter if the "interactive" argument is
true or false.

If I do the exact same thing manually (by selected Start Capture... in
the camera menu), that is, same parameters, same output, and so on, no
problem at all.

A colleagues suggested that there might be a UI refresh problem, so I
tried the Refresh() command, the Desktop.RedrawUI() method, and also
increasing the scene root dirty count by one. To no avail.

I also tried changing the output location, no success.


Any idea?


Thanks Bernard --- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.