When spot elevations or spot coordinates are applied to line-based host components, you can specify that they orient to the component and not the horizontal default.
Line-based host components are those elements placed by defining a start point and an endpoint, such as structural walls, walls, beams, and braces.

Spot coordinate on a beam

Rotation at default dimension settings

Rotation with spot coordinate set to Rotate with Component