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

Date : Wed, 18 Jul 2007 17:56:34 +0200
To : XSI(at)Softimage.COM
From : Guillaume Laforge <guillaume(at)alamaison.fr>
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


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.