GstarCAD 2027 · System Variables
System Variables > V System Variables > VIEWMODE
Function Description:
The VIEWMODE system variable is used to store view settings of current viewport.
(Read-Only)
| Type | Integer |
| Saved in | Drawing |
| Initial value | 0 |
| Range | 0,1,2,4,8,16 |
System Variable Value:
0: turn off
1: perspective view active
2: turn clipping front on
4: turn clipping back on
8: turn on UCS follow mode
16: front clipping is not at eye. If this system variable is on, the front clip distance ( FRONTZ) determines the front clipping plane. If this system variable is off, FRONTZ is ignored, and the front clipping plane is set to pass through the camera point (vectors behind the camera are not displayed). This flag is ignored if the front-clipping bit (2) is off.
2016 · 2017 · 2018 · 2019 · 2020 · 2021 · 2022 · 2023 · 2024 · 2025 · 2026
Article ID: 3138
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/viewmode-system-variable-gstarcad-2027-3138.html