# BACKGROUNDPLOT System Variable [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) **Function Description:** The BACKGROUNDPLOT system variable is used to control whether to close background plot when ploting or publishing a drawing. | | | | --- | --- | | Type | Integer | | Saved in | Registry | | Initial value | 2 | | Range | 0 ~ 3 | **System Variable Value:** **0:** plot and publish in foreground **1:** plot in background and publish in foreground **2:** plot in foreground and publish in background **3:** plot and publish in background It is default to plot in foreground and publish in background.When -PLOT, PLOT, -PUBLISH, and PUBLISH are used in a script (SCR file), the BACKGROUNDPLOT system variable value is ignored, and -PLOT, PLOT, -PUBLISH, and PUBLISH are processed in the foreground. --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables/BACKGROUNDPLOT.html) · © Gstarsoft Co., Ltd.