Skip to content

XREFLAYER System Variable

Hakan Seven edited this page Nov 8, 2026 · 1 revision

XREFLAYER (System Variable)

Sets the layer that new external references go on.

Type String
Saved in Drawing
Default . (Current layer)
Since 2026.44

Values

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

Notes

  • A value that is not a valid layer name means the current layer.
  • Type XREFLAYER alone to see the current value, or XREFLAYER <name> to set it.

Related

XATTACH · XREF · HATCHLAYER


System Variables · Command Reference

Clone this wiki locally