std-getendpt | ![]() |
Returns the last point or the value of the group 11 of the entity.
For a POLYLINE or LWPOLYLINE it returns the last vertex.
For an ARC it returns the arc endpoint and not nil.
For all other entities it returns the value of the dxf group code 11, which is nil on entities which do not contain this group.
It may be used with entity types, entget-lists or entsel picklists.
Note
The implementation calls STD-ENTGET on ename or entsel arguments which uses an entget caching mechanism, because ENTGET is usually slow. But this speed gain may fool return values on deleted entities.
ele: Either an entity type, entget-list or entsel picklist.
Either a 3D point or nil.
None. It may set an internal *ENTGET-CACHE* symbol, but direct access is forbidden.
(std-require 'STDENT)
Defined in STDENT