Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

maxim_k
en respuesta a: KeithSWD

Hi,

 

I think you don't need to redefine HATCH command.

Try this:

 

(defun c:H ()
(if (= (getvar "hpassoc") 0)
(setvar "hpassoc" 1)
)
(initdia)
(command "._HATCH")
)

 

I added (initdia) function call in order to show Hatch Visor, without it you should work with hatch options only via command prompt.

 

Maxim


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community