I also had no problems put this
RenderPassesFrameSet , "2,4,7-9"
as a script button
but if you fallow this instruction below and you will know
when you drag these command into a custom script button.
I save it as "script Command external file"
when you hit button the problem will appear
Thank you
----- Original Message -----
From: XSI(at)boxhero.com
To: <XSI(at)Softimage.COM>
Sent: Thu, 19 Jul 2007 11:03:32 -0400
Subject: Re: render problem throught scripting
Any idea where it gets stuck?
what it happen was when i call the script, the render window come out but its not render at all.
the only button there was abort, and it locks all the menue button.
when i put these command in the xsi script editor it render fine.........
the script below, i got it from the xsi sdk document, also if you put a search in
"RenderPassesFrameSet" you will find them at the bottom.
Thanks
----- Original Message -----
From: Bernard Lebel
To: XSI(at)Softimage.COM
Sent: Wed, 18 Jul 2007 17:39:57 -0500
Subject: Re: render problem throught scripting
Any idea where it gets stuck?
On 7/18/07, XSI(at)boxhero.com <XSI(at)boxhero.com> wrote:
> 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
>
>
>
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi