render problem throught scripting

Date : Wed, 18 Jul 2007 18:24:36 -0400
To : <XSI(at)Softimage.COM>
From : "XSI(at)boxhero.com" <XSI(at)boxhero.com>
Subject : render problem throught scripting
Hi  everyone.

have anyone tries to call a script file for render an images?

when i put in the script into the script editor they runs fine, but when i put them in a script
files and call them it got stuck.... 



please can any one just tries the script below and might have a same problem i have.




//=================================

` this is a VB Script

NewScene , false
SetValue "PlayControl.Out", 6

' Add a cone with some animation
Set oCone = CreatePrim( "Cone", "MeshSurface" )
SaveKey oCone & ".kine.local.posx," _
   & oCone & ".kine.local.posy," _
   & oCone & ".kine.local.posz", _
   1
SetValue "PlayControl.Key", 6
SetValue "PlayControl.Current", 6
Translate oCone, _
   6.94824213992454, _
   2.46082959410157, _
   -0.246082959410157, _
   siRelative, _
   siView, _
   siObj, _
   siXYZ
SaveKey oCone & ".kine.local.posx," _
   & oCone & ".kine.local.posy," _
   & oCone & ".kine.local.posz", _
   6

' Render frames 2, 4 and 7 to 9 from the default pass 
RenderPassesFrameSet , "2,4,7-9"

//=================================



Thanks
JinLin




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.