Finding a group in python

52 visualizações
Pular para a primeira mensagem não lida

Sandy Sutherland

não lida,
7 de ago. de 2013, 03:26:0607/08/2013
para XSI Mailing List
Hi All,

How does one find a group - it appears FindChild does not support
finding groups?

Thanks

Sandy

Sajjad Amjad

não lida,
7 de ago. de 2013, 03:51:3907/08/2013
para soft...@listproc.autodesk.com
Hi Sandy,
What about iterating through model.Groups (this returns a GroupCollection)?

Sandy Sutherland

não lida,
7 de ago. de 2013, 04:10:2107/08/2013
para soft...@listproc.autodesk.com
Thanks Sajjad,

Will try that.

S.

Michal Doniec

não lida,
7 de ago. de 2013, 04:20:2407/08/2013
para softimage
This

Application.FindObjects(None, "{9D0673C2-6741-11D1-BE9F-00A024EE478D}")

will find all groups in the scene.

Sandy Sutherland

não lida,
7 de ago. de 2013, 04:33:2507/08/2013
para soft...@listproc.autodesk.com
Thanks Michal,

I can find the model easily enough - and I will just iterate through
it's groups

S.

Peter Agg

não lida,
7 de ago. de 2013, 04:37:1807/08/2013
para soft...@listproc.autodesk.com
If you know the name of the group then model.Groups("groups_name") will return it.

Sandy Sutherland

não lida,
7 de ago. de 2013, 05:04:2507/08/2013
para soft...@listproc.autodesk.com
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:

Adam Seeley

não lida,
7 de ago. de 2013, 05:50:0507/08/2013
para soft...@listproc.autodesk.com
Hi folks,

Any advice before I head down this path would be gratefully recieved.

I have a lot of non-simulated particles I want to generate motion blur for.

3Delight will do this no problem, but can I render out motion vector passes easily?

I saw some wrangling & hoop jumping on a Maya thread, hoping it won't be the same.

Thanks,

Adam
---------------------
Yoyo Digital Ltd.
http://www.linkedin.com/in/adamseeleyuk
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem