Re: getting pre-scripts to work

Date : Fri, 7 Apr 2006 23:02:39 +0100
To : <XSI(at)Softimage.COM>
From : "Denis-Jose Francois" <denisjos(at)gmail.com>
Subject : Re: getting pre-scripts to work
hmm... tried that but no luck.
 
what I am trying to do is change some parameters for a material on a specific pass. I figured I could write this as a script which executed only at rendertime... I have a post-script which changes the parameters back...
 
Perhaps I'm mistaken as to what kind of things can be done with a pre-script? is this pre-scripting function only for stuff that happens 'outside' xsi, like shifting files around, renaming things on disk etc?
 
The section of documentation that you quoted is pretty much the *only* thing I can find anywhere on this subject. and doesn't really say that much to a non-disciple...
 
'and any other process you need to perform'...
 
hmmm....
 
----- Original Message -----
From: Dana Smith
Sent: Friday, April 07, 2006 6:04 PM
Subject: RE: getting pre-scripts to work

From the docs:
 
Rendering Scripts
 
Pre- and post-scripts allow you to run extra processes before or after each frame is rendered. These scripts can be used for interleaving fields, moving, renaming files, and any other process you need to perform. You can use the scripts provided with XSI or you can write your own. On Windows you write batch files, while on Linux you write Shell scripts.
 
 
I've never tried it, but you might be able write a batch file that invokes your VBScript script like:
 
cscript myscript.vbs
 

Dana L. Smith
Marketing Creative
SAS
(919) 531-4116
Dana.Smith(at)sas.com
http://www.sas.com

 


From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Denis-Jose Francois
Sent: Thursday, April 06, 2006 7:35 PM
To: XSI(at)Softimage.COM
Subject: getting pre-scripts to work

Hi folks
 
Quick question, probably got an obvious answer... or been asked before, so apologies if I'm covering old ground here.
 
Does there need to be anything different or particular about scripts that you would use as either the pre-script or post-script components in XSI? Specifically I'm using 4.2.... can't find anything in the documentation or online.
 
Nothing I try seems to work at all. Even though the same scripts work perfectly well if I just run them in XSI as you would normally. The scripts I'm trying to use are all VB and are in files locally within my project.
 
any suggestions?
 
cheers
 
Denis-Jose Francois

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.