Function Entry: XDSIZE
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: XDSIZE
Name
xdsize
Class
Function
Syntax
(xdsize lst)
Arguments and Values
lst: a valid extended-data list whose application name has been registered byregapp. The list may optionally start with a-3group-code sentinel; outer parentheses are required either way. Brace fields (group code 1002) must be balanced.
Description
Returns the number of bytes the list will occupy when linked to an entity as xdata. If the application name is not registered, an error is signalled and ERRNO is set.
Return Values
An integer (byte size), or nil on failure.
Side Effects
None.
Examples
Both of these forms are accepted:
(-3 ("MYAPP" (1000 . "SUITOFARMOR")
(1002 . "{")
(1040 . 0.0)
(1040 . 1.0)
(1002 . "}")
))
( ("MYAPP" (1000 . "SUITOFARMOR")
(1002 . "{")
(1040 . 0.0)
(1040 . 1.0)
(1002 . "}")
))
Availability
- AutoCAD 2026: documented.
- BricsCAD V26: presumed compatible.
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [xdsize (AutoLISP 2026)](https://help.autodesk.com/cloudhelp/2026/ENU/AutoCAD-AutoLISP-Reference/files/GUID-F183738E-43BC-4820-AC51-5D0C1A3DA38C.htm)
- Status: documented (Phase 3 body fill).