AddtoSelection scripting question

Date : Fri, 11 Jan 2008 11:10:06 -0500
To : "XSI(at)Softimage.COM" <XSI(at)Softimage.COM>
From : "Ajit Menon" <xsiajit(at)gmail.com>
Subject : AddtoSelection scripting question
Hi all
I have a simple selection script which however every now and then gives me an error:
 
// WARNING : 3030-SELE-AddToSelection - Command was cancelled.
 
I have no idea why it's doing it coz it seems random. Here's that part of the script:
 
 
SelectObj(objArray[0], null, true);
 
for (s=0;s<arrayLength;s++)
{
 
// logmessage("Selected Array index is :"+sel);
// logmessage("Selected Object is :"+objArray[sel]);
AddToSelection (objArray[s], null, true);
}
 
 
 
Thanks in advance
Ajit

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.