RE: How to create pass override via script (XSI 5.11)

Date : Wed, 18 Jul 2007 17:04:46 +0100
To : <XSI(at)Softimage.COM>
From : "Adam Seeley" <Adam.Seeley(at)primefocusworld.com>
Subject : RE: How to create pass override via script (XSI 5.11)
Or setup the override, give it a specific name & put it in a specific place. E.g. Under a Model called "Overrides" in the Root.

Then just do a CopyPaste to the background Partitions in the script.

A.

> -----Original Message-----
> From: owner-xsi(at)Softimage.COM 
> [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Guillaume Laforge
> Sent: 18 July 2007 16:57
> To: XSI(at)Softimage.COM
> Subject: Re: How to create pass override via script (XSI 5.11)
> 
> I don't know if there is a snipet but here is how I deal with 
> override in script :
> 
> -  Create the override  "by hand" in the UI and  save it as a preset.
> - Then in your script just create an empty override and load 
> the preset file.
> 
> Hope this  help.
> 
> Guillaume Laforge
> 
> 
> Schoenberger a écrit :
> > Hi
> >
> >
> > Quick question:
> > I want to create an override in the background partition of a pass.
> > Then add an entry to override a parameter for all materials.
> >
> > Everything via a script.
> > And of course I don't have the same objects in every scene.
> > (If I take a look at the script log, the 
> SIAddEntryToOverride takes an 
> > objects material as input)
> >
> > Anybody having a script snipplet?
> >
> >
> > Otherwise I have to loop through all materials in the scene 
> and change it there...
> >
> > regards,
> > Holger Schönberger
> > technical director
> > The day has 24 hours, if that does not suffice, I will take 
> the night
> >
> > ---
> > 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
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit 
> http://www.messagelabs.com/email 
> ______________________________________________________________________
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.476 / Virus Database: 269.10.8 - Release Date: 
> 16/07/2007 00:00
>  
> 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.10.8 - Release Date: 16/07/2007 00:00
 

---
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.