Message 1 of 10

Not applicable
02-03-2015
11:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a simple lisp that selects (and holds using sssetfirst) Mtest & Text.
I would like it to display on the command line how many objects are selected, I cannot get it to do this.
My code has the offending line blanked off using ;;
It works fine with the line not used & no variables declared
(defun C:SELECT_TEXT ( /sset) (sssetfirst nil (ssget '((0 . "TEXT,MTEXT")))) ;;(princ (strcat "\n "(itoa (sslength sset)) items selected")) (princ) )
Solved! Go to Solution.