Deleting Layers
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Deleting Layers

 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD
Author Message
Sebastian Interns
Guest





Posted: Wed Sep 22, 2004 4:58 pm    Post subject: Deleting Layers Reply with quote

Is there a simpler way to delete layers that still have objects in them (without having to turn all other layers off, then select all objects to delete, etc. etc.)?

Back to top
Jason Rhymes
Guest





Posted: Wed Sep 22, 2004 5:10 pm    Post subject: Re: Deleting Layers Reply with quote

Look at the Express Tools LAYDEL. Be careful, It takes no prisoners. It will
delete everything on that layer.
Back to top
R.K. McSwain
Guest





Posted: Wed Sep 22, 2004 5:23 pm    Post subject: Re: Deleting Layers Reply with quote

"Sebastian Interns" <nospam@address.withheld> wrote...
Quote:
Is there a simpler way to delete layers that still have objects
in them (without having to turn all other layers off, then select
all objects to delete, etc. etc.)?

LAYDEL (in Express Tools) will erase all entities on the selected layer and optionally purge the layer.

Back to top
Dean Saadallah
Guest





Posted: Wed Sep 22, 2004 8:38 pm    Post subject: Re: Deleting Layers Reply with quote

If you have Express Tools, try LAYMRG instead of LAYDEL, and merge the
layer(s) with layer 0 (zero): gives you an opportunity to decide what really
needs to be deleted and what you need as far as entities and text etc.

--
Dean Saadallah
Add-on products for LT
http://www.pendean.com/lt
--
Back to top
Dave
Guest





Posted: Thu Sep 23, 2004 1:13 am    Post subject: Re: Deleting Layers Reply with quote

If you don't have express try this it's been around for a while.

dave


; ********************************************************************
; DELLAYER.LSP

; This program deletes all entities on a specified layer.

; ********************************************************************


(defun C:DELLAYER (/ olderr ocmd L S)

;(adas_code_start)

(prompt "Delete all objects on selected layer")
(setq ocmd (getvar "CMDECHO"))
(setvar "CMDECHO" 0)
(prompt "Point to object on layer to delete: ") (terpri)
(setq L1 (entsel))
(setq l2 (entget (car l1)))
(setq l3 (assoc 8 l2))
(setq l (cdr l3))
(setq S (ssget "X" (list (cons 8 l))))
(if S
(command "ERASE" S "")
(princ "Layer empty or not a valid layer name.")
)
(setq S nil)

;(adas_code_end)
(princ)
)
(defun dellayn (name)
;(setq name (getstring "\nEnter the layer name to delete"))
(setq S (ssget "X" (list (cons 8 name))))
(if S
(command "ERASE" S "")
(princ "Layer empty or not a valid layer name.")
)
)

"Dean Saadallah" <info from pendean> wrote in message
news:4151aa82$1_2@newsprd01...
Quote:
If you have Express Tools, try LAYMRG instead of LAYDEL, and merge the
layer(s) with layer 0 (zero): gives you an opportunity to decide what
really
needs to be deleted and what you need as far as entities and text etc.

--
Dean Saadallah
Add-on products for LT
http://www.pendean.com/lt
--

Back to top
Dean Saadallah
Guest





Posted: Thu Sep 23, 2004 6:51 am    Post subject: Re: Deleting Layers Reply with quote

These guys are giving it away http://www.nu-waycorp.com/Downloads.htm

--
Dean Saadallah
Add-on products for LT
http://www.pendean.com/lt
--
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB