ScriptSpot

Script

Pivot & Align Tools

By lbrooks · Credited author: Lorne Brooks · 2018-03-03

Version
2.5
Version requirement
3dsmax 2019-2025
Date updated
2024-10-20
Votes
10
Description

Pivot & Align Tools (PAT) are a set of macros bundled into a quad menu that allow you to perform various object alignment, pivot alignment and object snapping functions... among others. Most of the functions can operate on a selection of multiple objects at once, including grouped objects as part of the selection (open or closed).


NOTE: This script now handles quad setup for both 3dsmax 2025 and above, as well as previous versions of Max.

 

See online guide in links section. 

 

The "LBTools - PAT Quad" menu can be found under the Quads tab in Customize. Assign hotkey to access it.

 

 

Latest Updates:

Version 2.5;

  • Quad menu now works with 3dsmax version 2025 and above for the new menu system that replaced the old one. Previous versions are still supported.
Version 2.41;
  • Fixed quad submenus from creating duplicates after each 3dsmax shutdown, due to not unregistering existing submenus before creating which caused config file bloat.

Version 2.4;

  • Added "Pivot Align To Polygon" which aligns the selected object's pivot to the center of a single polygon selection and orients it to the surface normal.
  • Added "Clone To Surface" which allows creating of new selected object instances onto a picked surface for each mouse click, with optional dragging via the options menu.
  • Added "Drag On Surface" which allows a selection of objects to be tagged as draggable. It will use each of the selected object's negative local Z-axis to find any surface intersection point in the scene and continuously snap to its surface normal. The quad menu toggle will display a tick to indicate status.


 

Additional Info

The "LBTools - PAT Quad" menu can be found under the Quads tab in Customize. Assign hotkey to access it.


Installation:

Drag the MZP file into your Max viewport. A restart will be required to initialize the quad-menu.

Files will be copied to...

C:\Users\<userName>\AppData\Local\Autodesk\3dsMax\<maxVersion>\ENU\scripts\startup

 

 

Attachments

Tags: Tools, align, surface, pivot, scripts, drag

Comments (22)

2025

Mikbal · 2024-05-08

it doesn't completely work for max 2025.

Re: 2025

lbrooks · 2024-05-08

Indeed the new menu system introduced in 2025 has replaced the old quad menu API, which means the script will no longer work as written. I intend to fix this when able for future script updates. For now you can only use it in versions prior to 2025.

2025

Mikbal · 2024-05-09

Apart from the script error at the start-up, I'm using it through hotkeys for the macros that i need. Thank you, hope you will update it soon. great job.

2025

Mikbal · 2024-05-09

Apart from the script error at the start-up, I'm using it through hotkeys for the macros that i need. Thank you, hope you will update it soon. great job.

Re: 2025

lbrooks · 2024-10-20

The script has now finally been updated to work with the new menu system in 2025 and beyond.

It will still work with previous versions of Max.

Yessss ...

Marco999 · 2021-12-17

Can't say nothing but WOOOOW !

egorus · 2020-08-09

3ds max 2020.3 - crash on start

can't install in max2021

vinoswan · 2020-06-09

I drag it into 3ds max 2021 but nothing happend

can't install in max2021

vinoswan · 2020-06-09

It works when running as Administrator,thank you for your script

grishunin08 · 2019-01-28

You can find out the reason, the script constantly creates a new menu of itself.

spartacus · 2019-02-28

I have the same problem, I assigned a hotkey but it doesn't save
and now I have 6 menus in my list.

Attachments

Re: I have the same problem, I

lbrooks · 2019-03-01

Hi, I'm not having any issues with my installation and I can't reproduce the problem. You might need to edit your auto-saved .mnux file in ... \AppData\Local\Autodesk\3dsMax\\ENU\en-US\UI\Workspaces\usersave\ ... for example, mine saves to ... Workspace1__usersave__.mnux.

In that file just remove any duplicate entries ...

<Context menuID="20" title="LBTools - PAT Quad - List" showAll="0" />

<Context menuID="21" title="LBTools - PAT Quad - 4x4" showAll="0" />

<Context menuID="22" title="LBTools - PAT Quad - List" showAll="0" />

<Context menuID="23" title="LBTools - PAT Quad - 4x4" showAll="0" />

... and also update the menuID's so they're sequential again.

That should fix it from then on.

Re: I have the same problem, I

spartacus · 2019-03-13

I formatted my PC and after installing 3ds max 2018 I just installed your plugin without any other plugins and the same error appeared, I even tried with Update 1, 2 and 4 but nothing.

I opened the file that you mentioned but there's only one entry for Quad and List I even used CTRL + F to search for it.

The funny thing through it was working without any problem before, now I don't know what's happening.
My problem isn't that it's showing duplicate menus but that it isn't saving the keyboard shortcut.
Sorry for any mistakes on my english.

Re: I have the same problem, I

spartacus · 2019-03-13

I just figured it out.
I made a new menu with all the List options and assign a keyboard shortcut to it on Keyboard tab, now it's saving.

submenu are duplicated

Alexandr Glazachev · 2024-05-05

"Hi, I'm not having any issues with my installation and I can't reproduce the problem. You might need to edit your auto-saved .mnux file in ... \AppData\Local\Autodesk\3dsMax\\ENU\en-US\UI\Workspaces\usersave\ ... for example, mine saves to ... Workspace1__usersave__.mnux.

In that file just remove any duplicate entries ...

... and also update the menuID's so they're sequential again.

That should fix it from then on."

Please can you describe in more detail what needs to be done to stop the quad menu items from appearing double. This is a really serious problem. All this is written in Workspace1__usersave__.mnux. and in MaxStartUI.mnux with each new launch of Max. Max's launch is becoming increasingly slow. Those menu items that have a submenu are duplicated every time the program is launched. You will be very helpful if you give advice on how to avoid this. Your tool is very useful and I wouldn’t want to lose it.

Re: submenu are duplicated

lbrooks · 2024-05-07

Hi,

The duplicated submenus should now be fixed in the 2.41 release. They were getting created without being deregistered, so each Max shutdown was writing a new menu item entry in the config files.

You shouldn't need to edit the config files as the script will cleanup any duplicates.

Thanks for reporting the issue.

Alexandr Glazachev · 2024-05-07

Wow! Huge Thank you! Simply Super Huge! Global thanks!!! You are a true citizen of the world!! I owe you a kilo of chicolada, what should I do with it! ))

But more seriously, how did you do it? How can you pull off a similar trick with other victims of the problem? Keyhydra has the same problem, and even the likes of Chaos Phoenix have been having it for several years now.

Maybe you can create a script that will delete all duplicates in the configuration file. I really don’t know, maybe your script can already do this.)) I just haven’t used KeyHydra for example yet precisely because of this problem.

Re: not show as quads menu

lbrooks · 2018-10-29

Hi,

This should be fixed now in version 1.1. The quad items are now clickable even when nothing is selected.

have same problem quadmenu not appear (show all quads)

mohamed_6482 · 2018-10-31

thaaaaaaank you too much for improvement but please can you fix quad menu issue
my problem is quadmenu (show all quads)option not working

Re: have same problem quadmenu not appear (show all quads)

lbrooks · 2018-11-01

Hi, sorry I misunderstood the original problem.

I had a play with trying to get this working and had some success in 2016, but not 2019. It seems Max's interface doesn't always play nice with this option when assigned to a shortcut. To get it working (in 2016), I saved both my custom workspace and Custom UI Scheme after assigning the shortcut and turning on show all quads, and restarted Max.

I've removed some lines of code (in 1.3) that may have prevented the show all quads from working as expected. However, to get it working you may need to start from a fresh default workspace then install the script and try setting up a new custom UI.

mohamed_6482 · 2018-11-01

thank you too much for your great effort
i try to create a new quad and move the script to it (working good)
thank you again