Re: scripting lights... associated models group

Date : Wed, 30 Aug 2006 12:54:43 -0700
To : XSI(at)Softimage.COM
From : "Steven Caron" <carons(at)gmail.com>
Subject : Re: scripting lights... associated models group
right on
 
i have employed this method
 
thanks!

 
On 8/30/06, Bernard Lebel <3dbernard(at)gmail.com> wrote:
The AssociatedModels group is kind of a "fake" group. It looks like a
group, and behaves in a similar fashion in the GUI, but scripting-wise
they're many of the full group class features. I believe the
AddToGroup command works though.


Cheers
Bernard


On 8/30/06, Steven Caron <carons(at)gmail.com > wrote:
>
> bummer
>
> i have got the group using 3 levels of nestedobjects and for some reason the
> methods of groups doesn't work.
>
> object has no attribute 'AddMember'
>
> when i log the object's type i get #Group so i have a group
>
> thanks for the link Bernard
>
> Steven
>
>
> On 8/30/06, Bernard Lebel < 3dbernard(at)gmail.com> wrote:
> > There is such shortcut available. You have to use tricks like strings,
> > nestedobjects, enumelements and the likes.
> >
> > Btw you might want to check out LightTools, as it deals with all these
> > things (functions from the Associate button).
> >
> http://www.bernardlebel.com/wiki/index.php/3D:XSI_scripts/plugins:Packages_%26_Projects:LightTools:LightTools_5.0
> >
> >
> >
> > Cheers
> > Bernard
> >
> >
> >
> > On 8/30/06, Steven Caron < carons(at)gmail.com > wrote:
> > >
> > > Hey
> > >
> > > can someone recommend a way to work with the associated models group
> under a
> > > light?
> > >
> > > i am creating the light in scripting so i have the object, i dont see a
> > > simple OM shortcut or any method to return the associated models group.
> > >
> > > thank
> > >
> > > steven
> > ---
> > 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.