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