Jump to content

setFromParm(src) not showing keyframes on copied data


danielsweeney

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

Link to comment
Share on other sites

  • 4 weeks later...

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...