Custom Spreadsheet Queries?

Date : Wed, 28 Feb 2007 13:38:06 +0100
To : xsi(at)Softimage.COM
From : André Adam <a_adam(at)49games.de>
Subject : Custom Spreadsheet Queries?
Heya,

has anyone ever been successfull in creating custom queries for the spreadsheet? I thought this morning I'd go and try something simple to start with. However, the code below immediately crashes XSI and I don't have a single idea why...

Any tips highly welcome! Cheers!

   -André


%SI_HOME%\Application\Queries\Custom.query

<version>{1}
<line_def>
{
  jscript
  customspreadsheets.js
  fGetRoot
}
<col_def>
{
  jscript
  customspreadsheets.js
  fGetName
}


%SI_HOME%\Application\DSScripts\customspreadsheets.js

function fGetRoot(){
 var aReturn = new Array();
 aReturn.push(ActiveSceneRoot);
 return aReturn;
}

function fGetName(){
 var aReturn = new Array();
 aReturn.push("Name");
 aReturn.push("FullName:Default:RootName");
 return aReturn;
}


--- 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.