CADMILES
Mechanical
- May 23, 2006
- 23
Does anyone know what the correct argument string should be to use the LINE command in a lisp program? I am using ACAD 2008. I am trying to use the angle override option after providing a first point, then I want to allow the user to select a screen point for the length. The code that I think should work, but doesn't:
(setq p1 (list 0 0 0))
(setq newang "<30.0")
(command ".LINE" p1 newang "" pause "")
Autocad seems to recognize the angle override, but then errors out. Any ideas?
(setq p1 (list 0 0 0))
(setq newang "<30.0")
(command ".LINE" p1 newang "" pause "")
Autocad seems to recognize the angle override, but then errors out. Any ideas?