Adverti horiz upsell

copySDK.py for Maya 2.0.1 (maya script)

These python definitions mirror Set Driven Keys from one setup to another.

License
Button download
1,464 Downloads

Compatibility

  • 2008

History

Created:01/09/2011
Last Modified:09/18/2013
File Size: 32.9 KB

Keywords

SDK, driven, set

Handles SDK copying from one object to another/others. Can be selection based or argument based. An extensive doc file is available, just check out the copySDK.__doc__ string.

Currently it handles both driver and driven-centric modes. It handles many neat functions such as mirror-flipping attribute values, search and replace functions for target names, as well as some regex and other specialized driver-search options. You may also specify which attributes in particular you wish to copy keys for, by default it searches for all SDK's on a given node's keyable attributes.

If you choose to transfer keys via selection, the first selected object is always the source node. All the other nodes will get the set driven keyframe setup. In driven mode, by default all objects will share the same driver, the search and replace variables determine whether you want to use a different driver. In driver mode, search and replace must be declared to find driven objects corresponding to the targets.

Default procedure is:

import copySDK

copySDK.copySDK()



Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.

People who favorited this item:

  • Alan Weider
    Alan Weider
  • maitre_youn
    maitre_youn
  • sam555
    sam555
  • Zach Shukan
    Zach Shukan
  • gizmotweak
    gizmotweak
  • cg maya
    cg maya
  • Petr Marek
    Petr Marek
  • New Vans
    New Vans
  • gotham
    gotham
  • Cha Ra
    Cha Ra