ah, i was just doing that.
vp = app.Dictionary.GetObject('ViewportCapture')
#set ViewportCapture settings
app.SetValue("ViewportCapture.Filename", oOutPut, "")
app.SetValue("ViewportCapture.ImageWidth", oWidth, "")
app.SetValue("ViewportCapture.ImageHeight", oHeight, "")
app.SetValue("ViewportCapture.Padding", "(fn).#(ext)", "")
app.SetValue("ViewportCapture.UserPixelRatio", 0, "")
app.SetValue("ViewportCapture.WriteAlpha", 1, "")
app.SetValue("ViewportCapture.CaptureAudio", 0, "")
app.SetValue("ViewportCapture.Start", oFrame, "")
app.SetValue("ViewportCapture.End", oFrame, "")
app.SetValue("ViewportCapture.LaunchFlipbook", 0, "")
app.SetValue("ViewportCapture.IsMovie", 0, "")
app.SetValue("ViewportCapture.CustomTimeRange", 0, "")
#app.SetValue("ViewportCapture.Codec", 0, "")
app.SetValue("ViewportCapture.LaunchFlipbook", 0, "")
Martin Matzeder wrote:
how can I set the various parameters of the viewport capture with
scripting ( like format, path and so on)?
Application.CaptureViewport( 2, True ) seems quite limited
martin
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi