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

Call predefined lisp command from another lisp

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
ivanov.chv
513 Views, 2 Replies

Call predefined lisp command from another lisp

Hi everybody,

 

I am trying to call a lisp command, which is predefined as a function with "( defun c:drow......)" in another file which is loaded in the startup suit.

Basically I am trying to to write a lisp in which end I want to call the command "drow". Unfortunately   that doesn’t work.

Even if I type on the command line (command "drow") the result is "Unknown command". But if I type only "drow" everything is fine.

 

How I can call that/any predefined lisp command from another lisp?

 

Many thanks in advance. 

Chavi

 

2 REPLIES 2
Message 2 of 3
ВeekeeCZ
in reply to: ivanov.chv

In other lisp use (c:drow)
(defun c:newdrow ()
(c:drow)
)
Message 3 of 3
ivanov.chv
in reply to: ВeekeeCZ

That helped, thanks!

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

Post to forums  

Autodesk Design & Make Report

”Boost