Center Pattern Command & Center both axis to align palette
Draw a vector shape and fill with a pattern, notice this is not centered. To do this is a long meticulous process prone to error.
https://forums.adobe.com/thread/2390290.
Can we get an option in the align palette to do this. Would also be nice to add an icon that centers both axis instead of having to click twice for horizontal and vertical.

-
I know two workflows to make this happen.
First.
1. Enable smart guides
2. Grab the intersection of the rulers (the zero point) and drag it over the center of your object (assuming there is one, you can enable it in Attributes panel with Show Center), or to a chosen point on canvas. If your pattern is built with its center in the center of its module, this should effectively center the module in the object.
3. Cut the shape
4. Reset coordinates (or return them to their original position in cases you were not using the default zero). Make sure you have Transform Pattern Tiles option enabled in Preferences!
5. Paste the object
Now you have the pattern centered.
Just watch the GIF.Second.
Use a free script instead — Reset Pattern.jsx by Toshiyuki Takahashi (gau)
Download it from here: https://github.com/gau/reset-pattern(Edited by admin) -
Anonymous commented
yes please oh god