Jump to content

Using ACADDOC.lsp and too many princs


Recommended Posts



I started using ACADDOC.lsp to manage and control my favourite utilities better (thanks to all you folks). I have also defined error prompts should one LISP fail.


Now, all the utilities that I have added in ACADDOC.lsp are creating their own but too many prints (princ). I tried using CMDECHO and NOMUTT variable but nothing seems to reduce my princs. I'm also affraid that NOMUTT might suppress the failed LISP notification. May be I should suppress the princ from each utility but I hate to edit each utility as those princs are valuable command line information and can be very useful.


And thinking future, more utilities will be added. I think that might increase princs.


Any suggestion?

Link to comment
Share on other sites

So, those "princs" where echos from the loaded utilities? Are those overloading yor text window or take too much to display?

I don't think there is a solution to prevent them other that erasing/commenting them in their respective files.

Link to comment
Share on other sites

Yes, those are echoes from each utility. Its not that it fills up my text window but since it keeps on increasing I thought we could somehow suppress it so that each time AutoCAD keeps the command line clean (or just few prompts).

Link to comment
Share on other sites

  • 10 years later...

here is another idea for clearing the screen.


(defun MP:Screen->Clear ()
  (setq screen-lines 50
        cnt 0
    (<= cnt screen-lines)
    (princ "\n")
    (setq cnt (1+ cnt))


lead the above function and then call it after all of your output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...