# DWGCHECK System Variable
[GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md)
**Function Description:**
The DWGCHECK system variable is used to check whether there exists potential problem when opening drawings.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Registry |
| Initial value | 1 |
| Range | 0,1,2,3 |
**System Variable Value:**
**0:** if a drawing that you try to open has a potential problem, you are warned before the drawing is opened
**1:** if a drawing that you try to open has a potential problem, or if it was saved by an application other than one based on RealDWG, you are warned before the drawing is opened
**2:** if a drawing that you try to open has a potential problem, you are notified at the Command prompt
**3:** if a drawing that you try to open has a potential problem, you are notified at the Command prompt. If the drawing has a potential problem and the drawing was saved by an application other than one based on RealDWG, you are warned before the drawing is opened
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/DWGCHECK.html) · © Gstarsoft Co., Ltd.