You define the position of the shaft axis in space as shown in Figure 24.7.
The consequence of the shaft arrangement in space (horizontally, vertically or in a defined angle to the horizontal) is:
The weight of the shaft (in a horizontal position) is considered a gravitational force in the Z-Y plane when calculating the deflection. However, if the shaft is positioned vertically, the resulting axial force is, for example, included in rolling bearing calculations. If a shaft is positioned at an angle, the corresponding force components are distributed in the Z-Y plane and as an axial force.
Alternatively, you can enter the shaft mass direction vector using the 3-coordinate format.

Figure 24.7: Defining the position of the shaft and the position of contact.