Re: Custom command: returning an array?

Date : Thu, 2 Mar 2006 12:22:00 +1030
To : XSI(at)Softimage.COM
From : Nick <nick.petit(at)gmail.com>
Subject : Re: Custom command: returning an array?
Wow, the Animal crew are out in force... don't tell me Penguins is all wrapped up already!

On 3/2/06, Sofronis Efstathiou < sofronise(at)al.com.au> wrote:

Shouldn't you be flying helecopters?

On Wed, 01 Mar 2006 23:56:58 +0000
  "michael malinowski" <hejherbert(at)hotmail.com> 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

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