RE: Custom command: returning an array?

Date : Wed, 1 Mar 2006 22:31:10 -0500
To : <XSI(at)Softimage.COM>
From : "Mathieu Leclaire" <mleclair(at)hybride.com>
Subject : RE: Custom command: returning an array?

Thanks guys!!! What would I do without all of you? This mailing list is awesome!! I don’t know how I’d evolve without it ?!!… If only I could have found it a couple years ago… you guys could have saved me a lot of headaches!!… Seriously, thanks to everyone who chips in!! It’s greatly appreciated and it makes our evolution so much easier and quicker… I just hope the day will come when I’ll be the one helping you back!!

 

So… Thank You All and lets keep doing cool stuff!! J

 

 

Mathieu Leclaire

R&D Programmer

Hybride Technologies

 

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On Behalf Of Nick
Sent: Wednesday, March 01, 2006 8:52 PM
To: XSI(at)Softimage.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.