Main
|
Resume
|
Showreel
|
Blog
|
Script
|
Contact
connexion
go to footer
expand all
|
collapse all
languages
class
All
JScript|XSI
Python|XSI
JScript|WEB
Python|Maya
All
Memo
learning
DDD
php
tool
keyboard tooltips
rig
reset All
- keyboard tooltips - felixlecha
# Reset All Transform on selected Objects import maya.cmds as mc def ch4_ResetSelection(): ''' Reset All Transform on selected Objects ''' # Get Current selection cSelection = mc.ls( sl = True ) if not cSelection: return for sSel in cSelection: mc.xform( sSel, a=True, t=[0,0,0], ro=[0,0,0], s=[1,1,1] ) ch4_ResetSelection()