# EXPORTMODELSPACE System Variable [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) → [E](Help%20System/GSTARCAD/2027/System%20Variables/E/(E).md) ## Function Description: The EXPORTMODELSPACE system variable is used to specify which part of drawing in model space to export to a DWF, DWFx or PDF file. | | | | --- | --- | | Type | Integer | | Saved in | Drawing | | Initial value | 0 | | Range | 0,1,2 | ## System Variable Value: **0:**display **1:**extent **2:**window --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Egsv/EXPORTMODELSPACE.html) · © Gstarsoft Co., Ltd.