Repository navigation
XREFLAYER System Variable
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Sets the layer that new external references go on.
| Type | String |
| Saved in | Drawing |
| Default | . (Current layer) |
| Since | 2026.44 |
| Value | Meaning |
|---|---|
| . or empty | New references go on the current layer |
| A layer name | New references go on that layer; it is created if it does not exist |
- A value that is not a valid layer name means the current layer.
- Type
XREFLAYERalone to see the current value, orXREFLAYER <name>to set it.
XATTACH · XREF · HATCHLAYER
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference