Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I've been messing around with AutoLISP to perform a list of functions on every layout, which includes a print function to show how many blocks in each layout. However, every time it performed its duty on a layout, it spams "Regenerating layout" and "Regenerating model" texts onto the command line. I have no idea how to hide these texts so that I can read the print functions more clearly.
Example code:
(defun TOP_SECRET () (foreach layout (layoutlist) ;;; Insert Top-Secret code (print stuff) (setvar "ctab" layout) ) )
Result from command line:
... ... Regenerating layout Regenerating model Regenerating layout Regenerating model Regenerating layout Regenerating model
"Layout 44 has this many blocks"
Regenerating layout Regenerating model
"Layout 999 has this many blocks"
Regenerating layout Regenerating model Regenerating layout Regenerating model ... ...
Solved! Go to Solution.