- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi all,
i'm trying to select and change all hatches AR-SAND on layer a-ceil-grid and then only change the scale. The issue is that if I have multiple hatches on this layer and this type, it will only work on the very first hatch i put in the file. So everything is working correctly, its just that i can only change one hatch of the multiple hatches that are in the file
is there a way to select all the hatches of this type and on this layer?
here is my code:
(defun C:Hatch_Edit_A-CEIL-GRID (/ ss old_CMDECHO)
(setq old_CMDECHO (getvar "CMDECHO"))
(setvar "CMDECHO" 0)
;;(setq ss (ssget "X" '((2 . "AR-SAND"))))
(setq ss (ssget "X" '((2 . "AR-SAND")(8 . "a-ceil-grid"))))
(command "-hatchedit" ss "p" "AR-SAND" "10" "")
(Setvar "CMDECHO" old_CMDECHO)
(princ)
)
all help is appreciated !
Solved! Go to Solution.