Revit 2026 API
ViewView |
The direction towards the viewer.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public XYZ ViewDirection { get; }
Public ReadOnly Property ViewDirection As XYZ Get
public: property XYZ^ ViewDirection { XYZ^ get (); }
member ViewDirection : XYZ with get
Property Value
XYZ
In orthographic views, all objects are projected onto the screen along
this direction. In perspective views, the view target point is projected along
this direction, but other points are projected towards the eye along different
vectors.
See Also