(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 entnext function with no arguments.