# PREVIEWFILTER System Variable [GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) **Function Description:** The PREVIEWFILTER system variable is used to exclude specified object types from selection preview. | | | | --- | --- | | Type | Bitcode | | Saved in | Registry | | Initial value | 7 | | Range | 0 ~ 63 | The setting is stored as a bitcode using the sum of listed system variable values. **System Variable Value:** **0:** exclude nothing **1:** exclude objects on locked layers **2:** exclude objects in xrefs **4:** exclude tables **8:** exclude Mtext objects **16:** exclude hatch pattern objects **32:** exclude objects in groups --- [Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/PREVIEWFILTER.html) · © Gstarsoft Co., Ltd.