In Autodesk 3Ds Max, there are several ways to accurately align an object in a scene. I'll tell you about my method using Tape Helper without special plugins and scripts, and it's pretty fast.
Imagine the situation that you have a complex object in which the transformation (Reset XForm) is resetted, and we do not know at what angle it is rotated.
Here we will align the house so that it is strictly vertical in the Viewport.
We need to link object to our Tape Helper.
Now by moving the Tape Target you can align the object with itself.
Write in the comments about your ways of aligning the objects. And whether this method was useful to you.