| Author |
Message |
flex411
Guest
|
Posted:
Wed Apr 06, 2005 10:28 pm Post subject:
Remove Hatch |
|
|
Hello, with qselect I can change the object type to hatch then for operator “select all” then click ok. After that I just hit delete and all the hatching is gone.
I think ssx may be the best way to do this in a Lisp command? But im not too sure how to go about it, any help would be great.
|
|
| Back to top |
|
 |
R.K. McSwain
Guest
|
Posted:
Wed Apr 06, 2005 10:33 pm Post subject:
Re: Remove Hatch |
|
|
flex411 wrote:
| Quote: | Hello, with qselect I can change the object type to hatch then for
operator “select all” then click ok. After that I just hit delete and
all the hatching is gone. I think ssx may be the best way to do this
in a Lisp command? But im not too sure how to go about it, any help
would be great.
|
(ssget "X" '((0 . "HATCH"))) |
|
| Back to top |
|
 |
flex411
Guest
|
Posted:
Wed Apr 06, 2005 11:16 pm Post subject:
Re: Remove Hatch |
|
|
Thank you, but im not doing it right. Im trying to test it in a single lsp file so i make a lsp file call it test.lsp load it and type ssget and get unknown command? even without loading the lsp command i type ssget and get unknown command? am i missing something?
|
|
| Back to top |
|
 |
Jeff Mishler
Guest
|
Posted:
Wed Apr 06, 2005 11:26 pm Post subject:
Re: Remove Hatch |
|
|
Try loading this:
(defun c:hatchBgone ()
(command "erase" (ssget "x" '((0 . "HATCH"))) "")
(princ)
)
then at the command line type HATCHBGONE
--
Jeff
check out www.cadvault.com
"flex411" <nospam@address.withheld> wrote in message
news:7559060.1112815013757.JavaMail.jive@jiveforum1.autodesk.com...
| Quote: | Thank you, but im not doing it right. Im trying to test it in a single lsp
file so i make a lsp file call it test.lsp load it and type ssget and get
unknown command? even without loading the lsp command i type ssget and get
unknown command? am i missing something? |
|
|
| Back to top |
|
 |
flex411
Guest
|
Posted:
Wed Apr 06, 2005 11:35 pm Post subject:
Re: Remove Hatch |
|
|
| works great thanks. Im still very green with lisp. Thanks for the help. |
|
| Back to top |
|
 |
|
|
|
|