Re: SIAddEntryToOverride
| Date : Thu, 5 Jul 2007 10:00:35 +0200 |
| To : <XSI(at)Softimage.COM> |
| From : "peter boeykens" <peter_b(at)skynet.be> |
| Subject : Re: SIAddEntryToOverride |
perhaps not very esthetical,
you can create a primitive cube, add shader if needed, move it to the partition, create the needed overrides and then delete the cube?
The cube can be your little secret, the artists never need to know ;-)
should be a nobrainer through scripting.
Yeah but that makes project standardization quite difficult. Having the user to manually re-create overrides for every shot will most likely result in errors, and I'd avoid that.
Anyway my current solution: 1- tell the artist to make sure to run the script after the scene has been populated and objects moved to partitions 2- the script tries to find the parameter among its member through some tedious string operations. It's slow, but so far so good.
Bernard
On 7/4/07, Matt Lind <speye_21(at)hotmail.com> wrote:If memory serves, the parameter in question MUST exist on at least one---
object in the partition for it be to added to an overrride. Thats why you
have to specify the fullname of an object and not just the parameter. A
real pain in the ass to deal with, but also keeps your overrides clean -
which is very important given how much overhead they produce.
Matt
--------------------- Matt Lind Animator / Technical Director Softimage certified instructor: Softimage|3D Softimage|XSI Matt.Lind(at)Mantom.net
Date : Wed, 4 Jul 2007 14:43:53 -0400 To : XSI(at)Softimage.COM From : "Bernard Lebel" <3dbernard(at)gmail.com> Subject : SIAddEntryToOverride
Has anyone ever found a way to add entries to overrides when the parameters to overrides are not found in the partition?
I'm trying to create overrides by scripting, and supplying only the parameter scriptname of the entry to the command raises an error.
For instance, this succeeds:
siaddentrytooverride( oOver.fullname, "grid.visibility.viewvis", 2 );
But this fails
siaddentrytooverride( oOver.fullname, "viewvis", 2 );
However, once the entry is added, print the entry scriptname returns viewvis. Argh!
Thanks Bernard
---
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
--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi
- Follow-Ups:
- render managers for 6.x
- From: Jan Hektor <jan(at)nhb.de>
- render managers for 6.x
- References:
- RE: SIAddEntryToOverride
- From: "Matt Lind" <speye_21(at)hotmail.com>
- Re: SIAddEntryToOverride
- From: "Bernard Lebel" <3dbernard(at)gmail.com>
- RE: SIAddEntryToOverride
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: render managers for 6.x
- Next by Date: render managers for 6.x
- Previous by Thread: render managers for 6.x
- Next by Thread: render managers for 6.x
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |