You can align objects with another through move or rotation. The following picture shows how to align the piping using Align command.
Aligning in three dimensions
You can align selected objects with other objects in three dimensional space. You select the objects you want to align, and specify one, two or three pairs of points to align the selected objects.
To align an object an object with another
Choose Modify > 3D Operation > Align.
Select the objects, and then press Enter.
Specify the first source point.
Specify the first destination point.
Specify additional source and destination points if desired (up to three pairs).
Command line ALIGN
Select the objects to align, and then specify the first source point (A), the first destination point (B), the second destination point (C), and the second destination point (D)
The resulting mirrored object
You can specify up to three pairs of source/destination points.
ALIGN: Aligns objects with other objects in 2D and 3D
System Variables Reference