Re: [scripting] Creating groups

Date : Mon, 30 Jul 2007 12:19:18 -0700
To : XSI(at)Softimage.COM
From : Bradley Gabe <withanar(at)stanwinston.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.