UCSXDIR (System Variable)

Stores the X direction of the current UCS for the current viewport in the current space.

(Read-only)
Type: 3D-point
Saved in: Drawing
Initial value: 1.0000,0.0000,0.0000

The X direction of the UCS can be different for each viewport.