AutoCAD "Last Entity"
by Avinash Ketkar
(India)
When you want to refer the last entity on the visible area of AutoCAD, you usually use "last" ("l" as a shortcut). For example, when you give "move" command and type "l" at the "Select Objects:" prompt, the last entity is selected. But remember, this gives the last entity visible on the screen.
Instead of this, if you want to refer the last entity added in the entire drawing, use "(entlast)" Autolisp command. (dont type the enclosing quotes).
If you give "list" command and type "(entlast)" at the "Select Objects" prompt, details of the last entity in the entire drawing are shown regardless of the visibility. You can then use the location of the entity to zoom to it.