What the?
what are you doing here??
Shouldn't you be dragging yourself through the mud in camouflage
somewhere?

________________________________
R A F E S A C K S
Lead Character TD - Technical
Animal Logic Film
+612 9383 - 4800
michael malinowski wrote:
Aloys, back to work mate, back to work....
_______________
Mike Malinowski
From: Eoin Murphy <eoinm(at)al.com.au>
Reply-To: XSI(at)Softimage.COM
To: XSI(at)Softimage.COM
Subject: Re: Custom command: returning an array?
Date: Thu, 02 Mar 2006 10:53:03 +1100
Aloys, I thought you were going to stick to Python and I could do C++?
Eoin Murphy wrote:
Yes:
XSI::CStatus Command_Execute( XSI::CRef& in_context )
{
CValueArray io_retVals;
//stick something in io_retVals
ctxt.PutAttribute( L"ReturnValue", io_retVals );
}
...it will return a SafeArray...
Mathieu Leclaire wrote:
Can my custom command return an array of
values? I have no problem returning a single value or an object
collection but I have a CDoubleArray that I would like to return so it
could be used in Jscript. How can I do that?
Mathieu Leclaire
R&D Programmer
Hybride Technologies
--
*E O I N M U R P H Y*
*/A n i m a l L o g i c F i l m
/*+61 2 9383-4392
==================================================
--
*E O I N M U R P H Y*
*/A n i m a l L o g i c F i l m
/*+61 2 9383-4392
==================================================
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
|