# XDATA Command
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [X](Help%20System/GSTARCAD/2027/Commands/X/(X).md)
## Function Description:
This command is used to attach extended object data (xdata) to a selected object. You can view the xdata attached to objects with the XDLIST command.
## Command Access:
> **Icon:** /
> **Menu:** Express > Tools > Attach Xdata
> **Ribbon:** /
> **Toolbar:** /
> **Command:** XDATA
> **Alias:** /
## Command Prompts:
```
Select object:
```
---
**Related Tasks:**
- [To Work With Express Tools (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Work%20With%20Express%20Tools.md)
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_X/XDATA.html) · © Gstarsoft Co., Ltd.