I am fairly new to AutoLisp, so bear with me. I am trying to combine the line command with the option to draw by bearing & distance ('bd), as AutoCad Map 3D 2007 doesn't combine the two like Land Desktop or Civil 3D. Here is what I've tried:
(defun C:LBD ()
(command "_.LINE" (getpoint) ("'BD"))
)
This does not work, and I am wondering where I've gone wrong. I know it should be a simple thing to do, but I am at a loss.
Solved! Go to Solution.
Solved by tommcgtx. Go to Solution.
version?
LDT and C3D handle the transparent commands differently -- on my LDT 2009 install, 'bd does nothing
This is pretty simple. Using BOTH lisp and a script file:
The LISP:
(defun c:lbd ()
(setq pt (getpoint "\n Start point: "))
(command "script" "u:\\scripts\\line-bd.scr")
)
Line-BD.scr:
line
!pt
'BD
I put all my LISP for Scripts in one file and all the scripts in one folder.
Enjoy....