I agree, but it is not the only time. For example, suppose you are on the button, two players limped, and there is an aggressive player in the big blind who often likes to squeeze in this spot. Then, limping with aces can make a lot of sense, because you likely will be able to make a large 3-bet, isolate the raiser, and win more chips than if you had raised the limpers.
For a different example, suppose you are in the big blind, the player under the gun raises, and it folds all around to you. If you 3-bet the UTG raiser from the BB, that will look very strong and the UTG raiser might fold or play very cautiously. Again, calling with aces can make a lot of sense in this spot.