Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

making lisp command to perfrom like a default code

1 REPLY 1
Reply
Message 1 of 2
Anonymous
179 Views, 1 Reply

making lisp command to perfrom like a default code

hello all i have a query

for ex my lisp code start like c:leave()

 

 

i have used start suit so i can ctype leave to invoke my lisp code ,, but i want to make it a little more easier , for instance we know about the line command we can call it typing line in command prompt rite but we can also use it in lisp code like (command "line" pt1 pt2 "" )

so is there any way i can make my leave command to work in a same way like

 

 

 

command "leave" ..

 

i mean can we use autolisp program of one kind in another lisp program

 

 

rply asap

 

 

 

 

thank you inn advance

1 REPLY 1
Message 2 of 2
Kent1Cooper
in reply to: Anonymous

See my Reply over in the Customization Forum:

 

(C:leave) for commands defined with (defun C:leave ....

 

(leave <arguments if any>) for functions defined with (defun leave ....

Kent Cooper, AIA

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

Post to forums  

Autodesk Design & Make Report

”Boost