I see, thank you, Stephen! (sorry for misspelling your name... ; )


------ Originalnachricht ------
Von: "Stephen Blair" <stephenrbl...@gmail.com>
An: softimage@listproc.autodesk.com
Gesendet: 14.01.2014 15:00:37
Betreff: Re: Re[2]: getting all groups of an object

Yes, that Filter isn't working (probably because other owners, like
Layers, are derived from Group), so I had to check the type in the for
loop.
I forgot to remove that line.


On Tue, Jan 14, 2014 at 8:48 AM, Eugen Sares <sof...@mail.sprit.org>
wrote:
Thanks, guys, that's it!

Steven, in that code example, is Filter("#Group") not working? Why
check again for the type of the collection elements in the for loop?
Best,
Eugen


------ Originalnachricht ------
Von: "Stephen Blair" <stephenrbl...@gmail.com>
An: softimage@listproc.autodesk.com
Gesendet: 14.01.2014 14:21:31
Betreff: Re: getting all groups of an object

Here's one way
http://xsisupport.com/2010/12/30/finding-groups-for-an-object/



On Tue, Jan 14, 2014 at 8:08 AM, Eugen Sares <sof...@mail.sprit.org>
wrote:
Hi, thought I ask here first:
in scripting, how can I get a collection of all the groups that a
particular object is in? Is there a direct way or do I have to
traverse all groups in the model, and check if the object is inside?
Thanks,
Eugen


--------------------------------------------------------------------------------
Diese E-Mail ist frei von Viren und Malware, denn der avast!
Antivirus Schutz ist aktiv.





--------------------------------------------------------------------------------
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus
Schutz ist aktiv.




---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz 
ist aktiv.
http://www.avast.com

Reply via email to