Over 1.113.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
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
9465×
this tip shared by ARKANCE experts applies to: AutoCAD ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

