Hi Ahmidou,

I think it is possible to do it on your side, since the C++ SDK 
Parameter.PlotAnimation() method does return a CRefArray containing FCurve 
objects.

Best regards,
Francis

From: softimage-boun...@listproc.autodesk.com 
[mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Marc-Andre Belzile
Sent: May 2, 2012 13:40
To: softimage@listproc.autodesk.com
Subject: RE: [C++] store Fcurve in a CRefArray?

FYI, you don't need to explicitlely call GetRef, the CRef& operator of CBase 
will do it for you.

I suspect your FCurve object is getting released at some point once added to 
the CRef array.

-mab

From: 
softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com>
 
[mailto:softimage-boun...@listproc.autodesk.com]<mailto:[mailto:softimage-boun...@listproc.autodesk.com]>
 On Behalf Of jo benayoun
Sent: Wednesday, May 02, 2012 1:34 PM
To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com>
Subject: Re: [C++] store Fcurve in a CRefArray?

Hey Ahmidou,
Is the ref you try to add to the array is the ref returned by the 
"FCurve::GetRef()" method ?
-jo


2012/5/2 Ahmidou Lyazidi <ahmidou....@gmail.com<mailto:ahmidou....@gmail.com>>
Hi
Is it possible ? I can't get it working...

Thanks

--
Ahmidou Lyazidi
Director | TD | CG artist
http://vimeo.com/ahmidou/videos

<<attachment: winmail.dat>>

Reply via email to