How do I get the position and orientation of this pivot and snap it to the location where the pivot was? (Object, Edge, Vertex, Face, UV, Joint, Locator)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When a component (object, edge, vertex, face, or UV) is selected, a pivot is displayed.
This pivot is moved to the center of the selected object and displayed (World mode).
I want to get the position and orientation of this pivot and snap it to the place where the pivot was.
The way I'm doing it now is
The position of this pivot is shown in the Modelling Toolkit's Move Settings. (It doesn't show anything below 1/100th, so you can't see the accuracy.)
I copy and paste X, Y, Z of this Move Settings into the Script Editor and run it.
But this method is very time-consuming.
Isn't there a way to execute it by command?
This means that Pivot's position will not be shown on Channel Box.
I think I can't use getAttr or setAttr.