Ok, that would be a valid fallback solution, but from the docs I think
the code below should work. At least they explicitly state that other
languages besides of vbs are supported...
Thanks for the tip.
-André
texturelighting(at)texturelighting.com wrote:
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
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi