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

Date : Wed, 2 May 2007 17:53:56 +0100
To : XSI(at)Softimage.COM
From : "Dan Yargici" <danyargici(at)gmail.com>
Subject : Re: [Scripting] FindChildren with Annotations....
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



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.