- (defun c:pavementlayout ( / hpn p el )
- (setvar 'hpname "ANSI31")
- (initget 1)
- (if (setq hatch (ssget ":S:L" '((0 . "HATCH"))))
- (progn
- (command "HATCHGENERATEBOUNDARY" hatch "") (command "Erase" hatch "")))
- (while (setq p (getpoint "\nPick or specify internal point : "))
- (vl-cmdf "_.-BHATCH" "_P" "" 0.05 0.0 "_A" "_B" "_E" "_S" "_N" "_A" "_N" "_H" "_N" "" "_non" p)
- (vl-cmdf "")
- )
- (princ))
我已经修复了自己。 |