Hatch's gone bad
Hatch's gone bad
(OP)
When I use a hatch pattern at coordinates 0,0,0 everything looks great. If I use a hatch anywhere else the hatch looses its patterns and looks like a bunch of broken lines. I can drag and drop, copy or move the hatch to the other location with no ill effect. If I try to edit or create a new one then it’s deformed once again. Please help.





RE: Hatch's gone bad
- hatch at 0,0,0 and move...normally it works
- use the SV SNAPBASE
regards, LotharADT 2004
ACAD 2002
RE: Hatch's gone bad
RE: Hatch's gone bad
RE: Hatch's gone bad
(defun c:hpf (/ om sb pt)
(setq om (getvar"osmode"))
(setvar "osmode" 15359)
(setq sb (getvar "snapbase"))
(setq pt (getpoint"\nSnap to Any Point on Broken Hatch Pattern: "))
(command "snapbase" pt)
(command"hatchedit" pt "" "" "" "")
(setvar "osmode" om)
(command "snapbase" sb)
(princ)
)
Wish I remembered where this lisp came from...probably here ;)