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

How can change basic command to Lisp command?.

1 REPLY 1
SOLVED
Reply
Message 1 of 2
jinkinglee
406 Views, 1 Reply

How can change basic command to Lisp command?.

How can change basic command to Lisp command?. Thanks

 

abc_command "pline", Ta1, "@6.0<"+ABC_ANGTOS(ABC_ANGLE(Ta1,b11),-1,-1), "@0.25,-1.375", "ARC", "CE", "@-0.75,0", "ANGLE", "-90", "LINE", "@-4.75<"+ABC_ANGTOS(ABC_ANGLE(Ta1,b11),-1,-1), "ARC", "ce", "@0,0.75", "ANGLE", "-90", "LINE", "c"

 

 

1 REPLY 1
Message 2 of 2
Ajilal.Vijayan
in reply to: jinkinglee

Something like this ??

 

(setq Ta1 (Getpoint "\nPick Ta1 :"))
(setq b11 (Getpoint "\nPick b11 :"))
(setq ang (angtos (angle Ta1 b11) 0 3))
(command "pline" Ta1 (strcat "@6.0<" ang) "@0.25,-1.375" "ARC" "CE" "@-0.75,0" "ANGLE" "-90" "LINE" (strcat "@-4.75<"ang) "ARC" "ce" "@0,0.75" "ANGLE" "-90" "LINE" "c")

 

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

Post to forums  

Autodesk Design & Make Report

”Boost