FindChildren finds X3DObjects, so it won't find
operators.
How
about FindObjects(), or XSICollection.Items with wildcards?
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of Dan Yargici
Sent:
Tue 29 January 2008 6:41 AM
To: xsi(at)Softimage.COM
Subject:
[Scripting] Using FindChildren to find Hair/HairSimOps
etc...
I can't for the life of me get this to work... Am I missing something
really obvious?
var oHairColl = ActiveSceneRoot.FindChildren(null,
???);
What I really want are the Hair Dynamics operators but the hair
objects themselves would do.... Right now I'm checking the type of everything in
the scene to filter out the hair objects, then going through each of their
construction histories looking for the Simulation operators and returning my
collection of operators, but this seems really round the houses.
I've
tried 'hair', 'siFurOpType', 'siFurPrimType' etc.... which type do you guys use
in conjunction with FindChildren when working with
hair?
Thanks,
DAN