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 Bricscad 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...
(setq symbol1 statement1 [symbol2 statement2] ...)
Programming Overview of LISP (LISt Processing) Language
Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |