Create a gist now

Instantly share code, notes, and snippets.

@fereria /connectAttr.py Secret
Last active Aug 29, 2015

Embed
import pymel.core as pm
sel = pm.ls(sl=True)
# 選択の1つめの Rot Trans Scale を 選択の2つめにConnectAttr
sel[0].rotateX >> sel[1].rotateX
sel[0].rotateY >> sel[1].rotateY
sel[0].rotateZ >> sel[1].rotateZ
sel[0].translateX >> sel[1].translateX
sel[0].translateY >> sel[1].translateY
sel[0].translateZ >> sel[1].translateZ
sel[0].scaleX >> sel[1].scaleX
sel[0].scaleY >> sel[1].scaleY
sel[0].scaleZ >> sel[1].scaleZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment