Align command/script?

 From:  blindfoldjump
8775.1 
Heya

I was wondering if there is a way to align (snap) a particular surface/face of an object to another.
So that the whole thing rotates into place. I think I have seen that function in other software.

Hope I make myself clear.

Cheers Nick