how to reset local rotate pivot ?

how to reset local rotate pivot ?

moiamy
Collaborator Collaborator
2,484 Views
1 Reply
Message 1 of 2

how to reset local rotate pivot ?

moiamy
Collaborator
Collaborator

Hello Guys

It seems stupid, but can't figure out to do that for all my polyPlane with the setAttr

 

 result = cmds.polyPlane( ch=True, o=True, w=xscale, h=yscale,sw=1, sh=1, n=myInstance)

 

0 Likes
Accepted solutions (1)
2,485 Views
1 Reply
Reply (1)
Message 2 of 2

viru.gupta8
Enthusiast
Enthusiast
Accepted solution

Hey,

If you are trying to reset rotate pivot you can simply use setAttr command:

object = "nameObject"

cmds.setAttr(object+".rotatePivotX", 0)
cmds.setAttr(object+".rotatePivotY", 0)
cmds.setAttr(object+".rotatePivotZ", 0)
0 Likes