(xdroom entity-name)


Determine how much xdata space is still available for an entity.


This function reports the amount of xdata (short for extended entity data) space still free in the entity identified by entity-name. All entities in progeCAD have 16KB (actually, 16,383 bytes) each to store any kind of user-defined data. This function tells you how many bytes are still remaining.

Example

Code Returns
(setq txt (entlast)) <Entity name: abc123d4>
(xdroom txt) 16383

NOTE Use this function before you add xdata to the entity to verify whether or not the entity still has xdata room.

Tell me about...

(entlast)

(setq symbol1 statement1 [symbol2 statement2] ...)

(xdsize list)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language