TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on March 13, 2018, 09:59:15 AM
-
How to ssget all LINES having Z coordinate of Startpoint or Endpoint or Both, not equal to zero.
One option is to select all lines and then iterate through all and remove those with Zero. But is there any direct method ?
-
Looks like there should be, as I can use a selection set in QuickSelect (3d polylines) Vertex Z <> not equal 0
And it finds only those objects....
I know that isn't much lisp help....
-
Here's a quick filter:
'((0 . "LINE")
(-4 . "<OR")
(-4 . "*,*,/=")
(10 0. 0. 0.)
(-4 . "*,*,/=")
(11 0. 0. 0.)
(-4 . "OR>")
)
)
-
Excellent Ron !!!!! Never knew that ssget could be used like this !!!!
-
For more about ssget
http://lee-mac.com/ssget.html (http://lee-mac.com/ssget.html)
-
Excellent Ron !!!!! Never knew that ssget could be used like this !!!!
Glad to help. :) HERE (http://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-11EA0ABD-AE29-4DD7-92A5-DFF6EC1C9799) is some more material on filters.