Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

Pivot rotate snap

Pivot rotate snap

HeavyMetalFox
Advocate Advocate
1,272 Views
4 Replies
Message 1 of 5

Pivot rotate snap

HeavyMetalFox
Advocate
Advocate

Hello,
I am trying to rotate the pivot by 90degrees on my meshes and I have hundreds of them.
I tried setting the snap rotate to 90 but it seems that only affects the rotate tool and no the pivot rotate tool which only snap rotates by 15 degrees.

Any ideas on how I can get the pivot rotate tool to snap by 90 degrees?

a1.jpg

0 Likes
Accepted solutions (2)
1,273 Views
4 Replies
Replies (4)
Message 2 of 5

brentmc
Autodesk
Autodesk
Accepted solution

Hi,

This looks like a bug so I will open a defect but in the meantime I can share a workaround.

Combined manipulators like the pivot manip (that has both move and rotate controls) take their snapping values from the Show Manipulator tool (T hotkey) which is typically used by modeling operation etc.

https://help.autodesk.com/view/MAYAUL/2024/ENU/?guid=GUID-E368AEA1-6B14-46BF-B329-8C966565C989


The only catch is those options only appear in the tool settings when the corresponding manip elements are set.

So, the easiest way to set the snapping used by the pivot manip is to call a MEL command to set the snap increment for the Show Manipulator tool like this:

 

showManipCtx -e -incSnapValue 2 90 showManip3D;

 

Brent McPherson
Principle Engineer
0 Likes
Message 3 of 5

HeavyMetalFox
Advocate
Advocate

Hey Brent,
Thanks for the info, but the link provided is broken.
The script worked as a charm!

Now I have thousand of objects in my scene and they all have their X axis pointing forward, is their a way to batch select all those pivots and rotate their pivot around the Y axis so the Z axis becomes the one pointing forward?

0 Likes
Message 4 of 5

brentmc
Autodesk
Autodesk

I fixed the link and also replied to your other thread regarding how to apply this to many objects.

https://forums.autodesk.com/t5/maya-modeling/batch-rotate-pivots/m-p/12085949

Brent McPherson
Principle Engineer
0 Likes
Message 5 of 5

HeavyMetalFox
Advocate
Advocate
Accepted solution

Thanks alot.

0 Likes