Function Entry: XDROOM
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: XDROOM
Name
xdroom
Class
Function
Syntax
(xdroom ename)
Arguments and Values
ename: an entity name.
Description
Returns the amount of extended-data (xdata) space available for the named entity. AutoCAD limits xdata to about 16 KB per entity, shared across all applications that have attached xdata to it. Use this function to verify that enough room exists before appending more xdata.
Return Values
An integer (free bytes), or nil on failure.
Side Effects
None.
Examples
(xdroom vpname)returns16162, indicating 221 bytes of the 16 383-byte budget are already in use.
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: presumed compatible.
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [xdroom (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-B7AD1D4B-FAFD-40F2-8A7C-7E35EC23F1FB.htm)
- Status: documented (Phase 3 body fill).