Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
Subject: Copying animation curves

Subject: Copying animation curves

2003-12-17       - By Denis Schluchter

 Back
Reply:     1     2  

Silvio

What version of Maya are you using? I haven't seen MFnAnimClipboard myself.
Anyway, if it's ok for you that the anim curves change interactively (no
copying of the curve), use MAnimCurveChange to keep a backup of your
original changes.

Create a MAnimCurveChange and supply a pointer to it with every change
command used on the curve. A call to MAnimCurveChange::undoIt() undoes
every change that has been logged to the instance. Pretty sweet, simple and
cool ...

 Denis

At 02:44 16.12.2003, you wrote:
>I am having some trouble copying animation curves from one attribute to
>another.  Basically, what I want to do is copy translateX into
>translateXTmp, modify the tmp, then copy that back into translateX.
>
>Currently, the only way I can see to do that is to create two
>MFnAnimCurve objects, connect one to the translateX attribute, then
>iterate through each keyframe, adding another keyframe with the exact
>same attributes to the second MFnAnimCurve.  What I'm worried about here
>is the final speed of this process, and from a search on the archives,
>it seems that I would be better off using MFnAnimClipboard for my
>purposes.  Problem is, for the life of me I can't figure out how to use
>it.
>
>Could someone point me towards the right direction?  How do I just
>duplicate an animcurve?
>
>Thanks,
>Silvio
>
>
>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
>List-help: <mailto:listar@(protected)?Subject=help>
>List-archive: <http://www.highend3d.com/maya/devarchive/>

-- ---- ---- ---- ---- ---- ---- ---- ---- ---
RoninWorks
Denis Schluchter
Software Engineer
Phone/Fax: +41 (0)33 222 50 58
B?lliz 43 / 3600 Thun
Switzerland
www.roninworks.com
denis@(protected)



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
List-help: <mailto:listar@(protected)?Subject=help>
List-archive: <http://www.highend3d.com/maya/devarchive/>