Message 1 of 1
Maya Python copying keys from transform to blendshape weight
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I want to copy a keyframe value from a transform of one object to a blendshape weight. Unfortunately it seems that copyKey and pastKey commands need the attributes to have the exact same name as far as I can tell.
cmds.copyKey(SourceNode, t=(startTime,endTime), at='translateY', o="curve") cmds.pasteKey(blendNode, at='blendShapeTarget', o='replace')
Perhaps I am just doing it wrong? Any help would be appreciated.
Thanks,
Adnan