Jump to content
Sign in to follow this  
danielsweeney

setFromParm(src) not showing keyframes on copied data

Recommended Posts

Hi Everyone,

 

Just wondering if someone could shed some light on this.

I'm copying values from one node to another for every Parm. 

but when using setFromParm(src) on a parm that has keyframes. it seems to copy the values across. but I cant see the keyframes in the timeline or any of the editors? whats gives? is this the proper way to do this or is there an extra step or another method?

 

Any tips would be great thanks so much for your help.

 

Daniel

Share this post


Link to post
Share on other sites

hi again,

Just in case someone stumbles over this problem.

Seems the way around it is to use two functions in conjunction. 

the setFromParm(src) seems to set all values correctly even referenced Parms. but the keyframes don't seem to work fully.
so you have to check if the parm in question has keyframes and if so. use setKeyframes(keyframes) instead for those Parms.

 

Hope that helps anyone that runs into it.

 

cheers

 

Daniel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×