@leticia.campanelli wrote:
.... selecting lines fillet with zero radius and join them in one go so it turns into a Pline. ....
Won't something as simple as this do?
(defun C:FZJ ; = Fillet at Zero radius and Join
(/ L1 L2)
(setvar 'filletrad 0)
(setq L1 (entsel "\nFirst Line/Arc to FZJ: "))
(redraw (car L1) 3)
(setq L2 (entsel "\nSecond Line/Arc to FZJ: "))
(command "_.fillet" (cadr L1) (cadr L2))
(initcommandversion)
(command "_join" (car L1) (car L2) "")
(prin1)
)
[Somehow, without the (initcommandversion), the JOIN command doesn't operate as expected from inside an AutoLisp (command) function.]
It works with Arcs as well as Lines [you never explicitly answered my question about whether you meant Line objects specifically, but I assume that], and with Polylines, too, though in that case you need to give it an extra Enter to finish selection in the JOIN command.
Kent Cooper, AIA