GstarCAD 2027 · 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 · 2026
Article ID: 3137
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/viewdir-system-variable-gstarcad-2027-3137.html