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-16       - By Silvio Terra

 Back
Reply:     1     2  

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