Re: Finding a group in python

2013-08-07 Thread Sandy Sutherland
I actually know the full name of this group in our current setup so could just pipe it in as is, but am trying to leave Sam a tool that can accept different naming scenarios. Thanks S. n 2013/08/07 9:37 AM, Peter Agg wrote: If you know the name of the group then model.Groups("groups_name") w

Re: Finding a group in python

2013-08-07 Thread Peter Agg
If you know the name of the group then model.Groups("groups_name") will return it. On 7 August 2013 09:33, Sandy Sutherland wrote: > Thanks Michal, > > I can find the model easily enough - and I will just iterate through it's > groups > > S. > > > > > On 2013/08/07 9:20 AM, Michal Doniec wrote

Re: Finding a group in python

2013-08-07 Thread Sandy Sutherland
Thanks Michal, I can find the model easily enough - and I will just iterate through it's groups S. On 2013/08/07 9:20 AM, Michal Doniec wrote: This Application.FindObjects(None, "{9D0673C2-6741-11D1-BE9F-00A024EE478D}") will find all groups in the scene.

Re: Finding a group in python

2013-08-07 Thread Michal Doniec
This Application.FindObjects(None, "{9D0673C2-6741-11D1-BE9F-00A024EE478D}") will find all groups in the scene. On 7 August 2013 09:10, Sandy Sutherland wrote: > Thanks Sajjad, > > Will try that. > > S. > > > On 2013/08/07 8:51 AM, Sajjad Amjad wrote: > > Hi Sandy, > What about iterating

Re: Finding a group in python

2013-08-07 Thread Sandy Sutherland
Thanks Sajjad, Will try that. S. On 2013/08/07 8:51 AM, Sajjad Amjad wrote: Hi Sandy, What about iterating through model.Groups (this returns a GroupCollection)? On 7 August 2013 08:26, Sandy Sutherland > wrote: Hi All, How does one find a group

Re: Finding a group in python

2013-08-07 Thread Sajjad Amjad
Hi Sandy, What about iterating through model.Groups (this returns a GroupCollection)? On 7 August 2013 08:26, Sandy Sutherland wrote: > Hi All, > > How does one find a group - it appears FindChild does not support finding > groups? > > Thanks > > Sandy >

Finding a group in python

2013-08-07 Thread Sandy Sutherland
Hi All, How does one find a group - it appears FindChild does not support finding groups? Thanks Sandy