• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

code for automatic opening control window

  • Thread starter Thread starter joe
  • Start date Start date

joe

Guest
Hi I created a lsp routine that lists me some of my information
My problem is knowing the code that makes the command window open automatically after typing the command of the file in question
you can give me a solution
Thank you.
 
the lisp is as follows:
(defunc c:pesi()
(princ "\n ø 48 - kg 14,205/mt)
(princ "\n ø 60 - kg 22,195/mt)
(princ "\n ø 80 - kg 39,458/mt)
(princ "\n ø 90 - kg 49,940/mt)
(princ "\n ø 115 - kg 81,540/mt)
(princ)
)

typing the "weight" command to the command line is performed the routine; However, to view the whole list, I press f2 and the command window appears to me.

I would like to make sure that this window will open automatically after typing the "weight" command without pressing f2
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Staff online

Members online

Back
Top