a guest Oct 21st, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- import pymel.core as pm
- items = pm.ls(sl=True)
- pm.group( em=True, name='null1' )
- driver = items
- driven = 'null1'
- kenny = pm.parentConstraint(driver, driven)
- pm. delete(kenny)
- pm.makeIdentity(apply=True, t=1, r=1, s=1, n=0, pn=1)
- pm.parent ( items , 'null1' )
- print 'Object Snapped.'
RAW Paste Data