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