Re: Scripting Overrides

Date : Fri, 12 May 2006 10:00:56 -0700
To : XSI(at)Softimage.COM
From : "Ben Barker" <ben.barker(at)gmail.com>
Subject : Re: Scripting Overrides
Just out of curiosity, does anyone have a method for getting at what an override is overriding? Like I can override an image node's bump_filter on a shader, and I can override a bump's bump_filter, and they both show up in the override as the same thing, "bump_filter" but clearly, internally, these are two different things. I would be great if there was some method to return a collection of parameters.

On 5/12/06, André Adam <a_adam(at)49games.de> wrote:
Yep, got that one already, thanks anyways!


francois.painchaud(at)sympatico.ca wrote:

>Though, you can create and populate an override with commands. For example:
>
>set oCone = ActiveSceneRoot.AddGeometry( "Cone", "MeshSurface", "MyCone" )
>set oPartition = GetValue( "Passes.Default_Pass.Background_Objects_Partition" )
>
>set oOverride = oPartition.AddProperty( "Override", true, "MyOverride")
>SIAddEntryToOverride oOverride.FullName, oCone.FullName & ".visibility.viewvis"
>
>Cheers,
>François
>
>
>
>>De: André Adam <a_adam(at)49games.de >
>>Date: 2006/05/12 ven. AM 08:56:54 GMT-04:00
>>À: XSI(at)Softimage.COM
>>Objet: Re: Scripting Overrides
>>
>>Many thanks for the quick reply! Cheers!
>>
>>Stephen Blair wrote:
>>
>>
>>
>>>Nope, there's nothing in the OM for Overrides.
>>>
>>>Steve
>>>
>>>-----Original Message-----
>>>From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf Of André Adam
>>>Sent: Friday, May 12, 2006 8:47 AM
>>>To: xsi(at)Softimage.COM
>>>Subject: Scripting Overrides
>>>
>>>Hi there!
>>>
>>>Is there anything you can do with Overrides using the object model? Like
>>>adding entries? I can't seem to get any OM hook on that thing...
>>>
>>>Cheers for a quick reply on this one!
>>>
>>>   -André
>>>
>>>
>
>
>---
>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



--
Ben Barker
Hair/Fur
Omation

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.