- (defun c:tt (/ en1 en2 pt)
- (setq en1 (car (entsel "\nfirst:"))
- en2 (car (entsel "\nsecend:"))
- pt (vla-intersectwith (vlax-ename->vla-object en1)
- (vlax-ename->vla-object en2)
- acExtendBoth)
- pt (vlax-safearray->list (vlax-variant-value pt)))
- (entmake(list'(0 . "line")(cons 10 pt)(cons 11(polar pt(* 0.75 pi)10000)))))
|