Re: [Scripting] FindChildren with Annotations....

Date : Wed, 2 May 2007 18:59:05 +0200
To : XSI(at)Softimage.COM
From : Guillaume Laforge <guillaume(at)alamaison.fr>
Subject : Re: [Scripting] FindChildren with Annotations....
>It seems there are 101 different ways to skin this cat...

There was an excellent CG Soup article from Bradley Gabe about those cats some time ago. Maybe take a look in the softimqge wiki, I believe there is a copy there.

--
Guillaume Laforge | La Maison


On Wed, 2 May 2007 17:53:56 +0100, "Dan Yargici" <danyargici(at)gmail.com> wrote:
> Interesting.  It seems there are 101 different ways to skin this cat...
> 
> Thanks Bernard,
> 
> DAN
> 
> On 5/2/07, Bernard Lebel <3dbernard(at)gmail.com> wrote:
>>
>> Perhaps a simpler and more cost effective way to do it:
>>
>> var oColl = XSIFactory.createobject( "XSI.Collection" );
>> oColl.items = activesceneroot.name + ".Annotation";
>>
>> if( oColl.count > 0 )
>>     logmessage( "already exists" );
>> else
>>     do something
>>
>>
>> Cheers
>> Bernard
>>
>>
> 
> 


---
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.