Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
CAD tip # 2130:
Question
A
How to select AutoCAD entities laying under the "zero level" (Z=0, Z<0)?
Try the following SelNegZ LISP routine (you can e.g. hit Del to delete the selected objects):
Try the following SelNegZ LISP routine (you can e.g. hit Del to delete the selected objects):
;(C) CAD Studio - www.cadstudio.cz ;select objects with negative Z coordinate (defun C:SelNegZ () (setvar "CMDECHO" 0) (command "_UCS" "") (command "_VPOINT" "0,-1,0") (command "_SELECT" "_W" (getvar "EXTMIN") (list (car (getvar "EXTMAX")) -0.000001) "") (command "_ZOOM" "_P") (sssetfirst nil (ssget "_P")) (setvar "CMDECHO" 1) (prin1) )
ACAD


25.4.2002
9142×
applies to: AutoCAD ·