GstarCAD 2026 · System Variables
System Variables > V System Variables > VIEWDIR
Function Description:
The VIEWDIR system variable is used to store the view direction by UCS coordinates in current viewport.
(Read-Only)
| Type | 3D vector |
| Saved in | Drawing |
| Initial value | 0.0000,0.0000,1.0000 |
It describes the camera point as the 3D offset value of target point.
2016 · 2017 · 2018 · 2019 · 2020 · 2021 · 2022 · 2023 · 2024 · 2025 · 2027
Article ID: 7966
Created: October 6, 2026
Last Updated: September 26, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/viewdir-system-variable-gstarcad-2026-7966.html