Wednesday, 29 May 2013

Quicktip: Connecting and Disconnecting attributes with pymel

Pymel has a much nicer way of connecting and disconnecting attributes than the cmds.connectAttr/disconnectAttr standard.

Consider the following:

However creating the above locators with pymel gives us the ability to connect attrs with >>, and disconnect attrs with //

It is also possible to connect standard nodes using their name string to a pynode using the same method. for example: