# DWGCHECK System Variable [GstarCAD 2017](Help%20System/GSTARCAD/2017/Index.md) → [System Variables](Help%20System/GSTARCAD/2017/System%20Variables/(System%20Variables).md) → [D](Help%20System/GSTARCAD/2017/System%20Variables/D/(D).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 --- ## Other versions with matching text [GstarCAD 2016](../../../2016/System%20Variables/D/DWGCHECK%20System%20Variable--ac1b31003a52.md) · [GstarCAD 2018](../../../2018/System%20Variables/D/DWGCHECK%20System%20Variable--ac1b31003a52.md) · [GstarCAD 2019](../../../2019/System%20Variables/D/DWGCHECK%20System%20Variable--ac1b31003a52.md) · [GstarCAD 2020](../../../2020/System%20Variables/D/DWGCHECK%20System%20Variable--ac1b31003a52.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/System%20Variables/D/DWGCHECK%20System%20Variable--ac1b31003a52.md) · [GstarCAD 2022](Help%20System/GSTARCAD/2022/System%20Variables/D/DWGCHECK%20System%20Variable--ac1b31003a52.md)