GstarCAD 2027 · System Variables
System Variables > V System Variables > VISRETAIN
Function Description:
The VISRETAIN system variable is used to control the property of xref-dependent layers.
| Type | Real |
| Saved in | Drawing |
| Initial value | 1 |
| Range | 0,1 |
This system variable can control visibility, color, linetype, lineweight, and plot styles of layers.
System Variable Value:
0: layer table stored in xref drawing is priority. All changes of xref-dependent layer in current drawing is valid in current task, but it does not save together with the drawing. It will reload layer table from xref drawing when reopen it, and the current drawing will reflect all layer property settings of the same type.
1: in current drawing, editing xref-independent layer is priority. Layer settings are saved together with layer table in current drawing, and remain unchanged in every task.
2022 · 2023 · 2024 · 2025 · 2026
Article ID: 3142
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://www.kb2.gstarcad.com.my/article.php?id=3142