(entlast)
Get the last entity in the drawing.
This function retrieves the name of the last non-deleted entity in your database. This is useful if you want to use the last entity drawn.
Example
Code
|
Returns
|
(entlast)
|
<Entity name: bebb12f4>
|
NOTES
- The entity does not need to be currently on screen, unthawed, or unlocked to be selected. This behavior differs from the Last selection set option.
- To find the first entity in the database, use the entnextfunction with no arguments.
Tell me about...
(entdel entity-name)
(entget entity-name [application-list])
(entmake [entity-list])
(entmod entity-list)
(entsel [prompt])
(nentsel [prompt])
(nentselp [prompt] [point])
LISP Compatibility
Programming Overview of LISP (LISt Processing) Language