std-entdel | ![]() |
STD-ENTDEL calls ENTDEL and updates the internal entget cache to avoid problems with deleted entities and subsequent calls.
(if (setq ele (std-entsel nil)) (progn (setq lay (std-getlay ele)) ; uses implicitly std-getval (std-entdel ele) (setq col (std-getcolor ele)) ; this will fail ;; check for deletion (if (entget ele) (princ " deleted") (princ " not deleted") ) ) )
ele: Either an entity type, entget-list or entsel picklist.
An entity or nil. ??
None, besides changing the internal *ENTGET-CACHE* variable.
(std-require 'STDENT)
Defined in STDENT