(defun c:kk (/ ent pnt pp pa )
(setq ent (entsel "\n多线段顶点拉伸:"))
(setq pnt (apply 'vlax-curve-getclosestpointto ent))
(setq ent (car ent))
(setq pp (fix (vlax-curve-getparamatpoint ent pnt)))
(setq pa (vlax-curve-getClosestPointTo ent pp)
)
(command "_.stretch" "c" "non" pa "non" pa "" "non" pa)
)