RE: [scripting] Creating groups

Date : Mon, 30 Jul 2007 15:34:12 -0400
To : <XSI(at)Softimage.COM>
From : "Andre DeAngelis" <andre.deangelis(at)ubisoft.com>
Subject : RE: [scripting] Creating groups

Thanks Brad,

 

Yes I ended up creating an empty list.

 


From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Bradley Gabe
Sent: July 30, 2007 3:19 PM
To: XSI(at)Softimage.COM
Subject: Re: [scripting] Creating groups

 

Create an empty collection, then use the Object Model:

coll = new ActiveXObject('XSI.Collection');
grp = ActiveSceneRoot.AddGroup(coll, 'myNewGroup');



 
Is there a way to script the creation of empty groups without having to
insert a DeselectAll command?
 
Seems like a weird omission not to have this option.
 
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
 
-- 
Bradley R. Gabe | Senior Creature TD | Stan Winston Studio

 


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.