Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to simulate mouse left click in autolisp

0 REPLIES 0
Reply
Message 1 of 1
ahmet471985
818 Views, 0 Replies

how to simulate mouse left click in autolisp

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

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost