# PDFIMPORTLAYERS System Variables
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) → [P](Help%20System/GSTARCAD/2027/System%20Variables/P/(P).md)
## Function Description:
The PDFIMPORTLAYERS system variable is used to control what layers are assigned to objects imported from PDF files.
| | |
| --- | --- |
| Type | Integer |
| Saved in | Registry |
| Initial value | 0 |
0: Creates layers corresponding to the PDF layers. These layers have a PDF\_ prefix. If no layers exist in the PDF file, setting 1 is used instead.
1: Creates layers corresponding to the general types of objects: PDF\_Geometry, PDF\_Solid Fills, PDF\_Images, and PDF\_Text.
2: Use the current layer. All objects are imported to the current layer even if layers were defined in the PDF file. If necessary, turns on the current layer.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Pgsv/PDFIMPORTLAYER.html) · © Gstarsoft Co., Ltd.