When LISP executes AUTOCAD Text Window Pops Up

When LISP executes AUTOCAD Text Window Pops Up

Anonymous
Not applicable
946 Views
3 Replies
Message 1 of 4

When LISP executes AUTOCAD Text Window Pops Up

Anonymous
Not applicable

My routine appears to work properly in my environment, but everytime that I run the LISP the command history text window pops up.

 

Bytheway, I am fairly new to LISP.

 

See attached txt file.

 

Thanks!

0 Likes
Accepted solutions (1)
947 Views
3 Replies
Replies (3)
Message 2 of 4

scot-65
Advisor
Advisor
Accepted solution
A quick look here I did not see errors.
There are two routines in this file - Which one causes the (textscr)?
Substitute "-layer" with ".layer", etc.
Try adding (graphscr) before the (princ).

???

And Welcome to these Forums!

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

Message 3 of 4

Anonymous
Not applicable

Thanks for the quick reply!

 

Well, if I run the routine "cpurge" by itself it causes the command window to pop-up.

0 Likes
Message 4 of 4

Anonymous
Not applicable

After incorporating both of your suggestions my LISP runs fine

1. changing (-layer) to (.layer) or (-purge) to (.purge)

2. adding (graphscr) before (princ)

 

Thank you!

0 Likes