I would like to be able to select polylines based on a given global width. Alternate I would like to be able to select polylines that are NOT of a given width. Is this even possible?
|
I would like to be able to select polylines based on a given global width. Alternate I would like to be able to select polylines that are NOT of a given width. Is this even possible?
Code:(defun c:SsPlineByWidth+ (/ ss) (and (setq ss (ssget ":S:E" '((0 . "LWPOLYLINE") (-4 . "<>") (43 . 0))) ) (sssetfirst nil (ssget "_x" (list '(0 . "LWPOLYLINE") (assoc 43 (entget (ssname ss 0))) ) ) ) ) (princ) ) (defun c:SsPlineByWidth- (/ ss) (and (setq ss (ssget ":S:E" '((0 . "LWPOLYLINE")))) (sssetfirst nil (ssget "_x" (list '(0 . "LWPOLYLINE") '(-4 . "<>") (assoc 43 (entget (ssname ss 0))) ) ) ) ) (princ) )
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000
"How we think determines what we do, and what we do determines what we get."
Sincpac C3D ~ Autodesk Exchange Apps
Computer Specs:
Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000