Re: Custom Spreadsheet Queries?

Date : Wed, 28 Feb 2007 08:04:22 -0500
To : XSI(at)Softimage.COM
From : "texturelighting(at)texturelighting.com" <texturelighting(at)texturelighting.com>
Subject : Re: Custom Spreadsheet Queries?
Yes, go check out your directory C:\Softimage\XSI_5.11\Application\Queries they are written in VBS, you can alter one of the querys there with notepad and the query will import fine into the spreadsheet

André Adam wrote:
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



-- Render Theory: It either renders or it doesn't


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