Re: [scripting] Creating groups

Date : Mon, 30 Jul 2007 12:17:05 -0700
To : XSI(at)Softimage.COM
From : "Steven Caron" <carons(at)gmail.com>
Subject : Re: [scripting] Creating groups
#imports
import win32com.client
from win32com.client import constants
   
#globals
xsi    = win32com.client.Dispatch( "XSI.Application" ).Application
xsiPrint = xsi.LogMessage

root = xsi.ActiveSceneRoot
root.AddGroup()

On 7/30/07, Andre DeAngelis <andre.deangelis(at)ubisoft.com> wrote:
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


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.