Re: [Scripting] Using FindChildren to find Hair/HairSimOps etc...

Date : Tue, 29 Jan 2008 12:05:50 +0000
To : XSI(at)Softimage.COM
From : Julian Johnson <julian(at)exch.demon.co.uk>
Subject : Re: [Scripting] Using FindChildren to find Hair/HairSimOps etc...
Dan Yargici wrote:
I can't for the life of me get this to work... Am I missing something really obvious?

var oHairColl = ActiveSceneRoot.FindChildren(null, ???);
Hi Dan,

Does this do the trick? :

oGenColl = Application.FindObjects("","{4BD7A7FF-40C3-4C0A-8990-6F8E3CB5BC90}")
oDynColl = Application.FindObjects("","{4BD7A800-40C3-4C0A-8990-6F8E3CB5BC90}")
for x in oGenColl: LogMessage(x)
for x in oDynColl: LogMessage(x)


Julian
========================================

This e-mail (and any attachments) is confidential and may contain personal views which are not the views of Men-from-Mars unless specifically stated.

If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi



Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.