Hello my code like this:
(defun c:carc()
(command "pline" pt1)
(while (setq gr1 (grread t 10))
(if (= (car gr1) 3)
(progn
;for left click
;Some other code here
;in here i want to continue (command "pline") so that i need simulate left button click but i can use (command (cadr gr1)) but polyline would be corruption
)
)
)
)
how can i simulate left mouse click in my code