Recording Live Keyframes Using recordattr maya 2019

Recording Live Keyframes Using recordattr maya 2019

noah1211football
Enthusiast Enthusiast
3,367 Views
10 Replies
Message 1 of 11

Recording Live Keyframes Using recordattr maya 2019

noah1211football
Enthusiast
Enthusiast

Hello, I am having a hell of a time trying to get any recordattr script to work in Maya 2019 for the recording of live keyframes. There is a great script https://www.highend3d.com/maya/script/record-attributes-ui-for-maya that works perfectly fine in maya 2018 but not 2019. Any suggestions on how to get the script to work in the new version or another way to achieve the same results?

 

Think this would be useful to a lot of people, the script is amazing if it can work

 

Thanks,

Noah

0 Likes
Accepted solutions (1)
3,368 Views
10 Replies
Replies (10)
Message 2 of 11

syracoj
Autodesk
Autodesk

we unfortunately do not debug other community based scripts that may be on other websites (such as highend)

 

but, we can offer assistance in the use of one of our commands.

 

The recordAttr is a command that can be run on a selected object. How it operates is it creates as many record nodes on the object as there are attributes specified.

 

so if you have a sphere selected and you run in the script editor:

recordAttr -at "translateX" -at "translateY" -at "translateZ";

 

Then 3 record nodes will have been connected upstream from the pSphere1 (transform) node (from each channel: translate X, Y, Z, the record nodes target). You will see these record nodes stacked in the channel box as well.

 

From here, you can invoke the move tool (since we are dealing with translation) and press the Interactive Play button which can be found in the "FX" shelf. It's the last button on the shelf. It looks like a Play triangle with Bubbling circles behind it.

 

When you press this to play, you can move that sphere around with the engaged move tool and it will record that movement for the span of play that is captured. Once it finishes it will create fcurves and keyframes that recorded the movement of the object. 

 

Hope this helps.

 

 

0 Likes
Message 3 of 11

noah1211football
Enthusiast
Enthusiast
I tried this technique and it did not work. I'm thinking recordAttr might
have been changed or something for Maya 2019
0 Likes
Message 4 of 11

syracoj
Autodesk
Autodesk

should work. I performed the very same actions in a 2019 update build I described above as I wrote back to you and it worked.

What Viewport are you in? Are you in a DX11 viewport? Or is everything vanilla Maya.

Have you turned off Evaluation Manager in the Maya preferences?

 

Maya Preferences: Settings > Animation category. Evaluation mode should be set to Parallel.

Do you have auto keyframe on?

Anything returned to you in the script editor when you try?

 

Can you do a screen recording and show me what is occurring on your end?

 

 

0 Likes
Message 5 of 11

syracoj
Autodesk
Autodesk

I apologize. I accidentally launched the wrong version of Maya. Yes, I can see now it is inop in 2019. Let me dig a bit further.

0 Likes
Message 6 of 11

noah1211football
Enthusiast
Enthusiast

I am using viewport 2.0 Evaluation mode is set to parallel. When I run the script I get nothing back. I tried the technique in the attached video with and without autokey frame on and still couldn't get it to work 😕 perhaps the video will clear things up

0 Likes
Message 7 of 11

syracoj
Autodesk
Autodesk

noah1211football,

 

I checked our defect backlog and can see that it is an issue the Maya development team is aware of. Unfortunately it is still going to be a problem and as far as I can tell there isn't an evident workaround. In the meantime though I will try to stress for a quicker fix and will ask a few around here if they know of any potential workaround. 

Message 8 of 11

noah1211football
Enthusiast
Enthusiast

Okay, thanks for looking. This is a super useful feature so I hope it is able to work

 

 

0 Likes
Message 9 of 11

spacedmann
Observer
Observer

Are there any updates for a solution to this?

Message 10 of 11

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

This is fixed since Maya 2020.2 .

0 Likes
Message 11 of 11

Yoel_PL
Explorer
Explorer

Is there any reason why the recordAttr doesnt work the same way for rotation? 
Im trying the following mel:

recordAttr -at "tx" -at "ty" -at "tz" -at "rx" -at "ry" -at "rz";

Im trying to run an Interactive Playback to record some animation. The position keyframes work perfectly, but nothing gets stored on the rotation keyframes.
The "record" node gets create for all the attributes, but keyframes are only recorded on the Translaxe X, Y and Z, none on the rotation.

0 Likes