Rooster Posted November 2, 2009 Posted November 2, 2009 Can someone look over the LISP below and tell me if you can why it's not picking anything up? There are objects in my drawing with the linetype that I'm trying to pick, but it's getting to the end of the LISP and saying 'nothing found'. Can anyone see what's wrong please? (defun c:fhl(/ cSet) (setq cSet(ssget '((6 . "#RVeg")) ); end ssget ); end setq (if cSet (progn (princ(strcat "\n" (itoa(sslength cSet)) " found.")) (sssetfirst nil cSet) ); end progn (princ "\nNothing found. ") ); end if (princ) ); end of c:fhl Quote
CarlB Posted November 2, 2009 Posted November 2, 2009 This routine would not select objects that either; -user doesn't select -have a linetype that is "bylayer" Quote
Rooster Posted November 4, 2009 Author Posted November 4, 2009 This routine would not select objects that either; -user doesn't select -have a linetype that is "bylayer" The objects I was trying to select had a linetype set to #RVeg (not bylayer). I also typed 'ALL' for my selection in the drawing, so I can't understand why it wouldn't pick them up. Quote
Recommended Posts
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.