Search the Community
Showing results for tags 'delete layer'.
There are 2 layers on this sample that QuickSelect says have nothing on them... Yet I cannot delete them. I've WBlocked, purged, dlete from Layer Prop Manager... I have hundreds of these I'm working on! Overall a relative newbie in CAD, not really digging LISP right now... so please try to keep solutions fairly straight forward. Layers are: FX-SGNSYM Bick Thank you half W32.dwg
salaxi posted a topic in AutoCAD Drawing Management & OutputIs there any possible way to do that? I had a .dwg with a layer with contours and i deleted it (my fault) .. I have this layer in another .dwg . Is there any way to transfer it in the other drawing file? Thanks in advance!
MichaelH27 posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceI have imported a dxf file from our Trimble handheld unit. The dxf has layers built into it that come straight from the trimble software. (ei, FENCE, TANK, WELL HEAD, FIELDLINE) I have custom built layers and linetypes for my .dwt file in Cad so I dont need the layers that followed the dxf file. For some reason I am unable to delete those layers, I get a warning box saying: The following layers cannot be deleted: . layers 0 and Defpoints . The current Layer. . Layers containing objects. . Xref-dependant layers I am not on the current layer, I am pretty positive there is no objects on the layers I want to delete ( i have deleted my gps points and blocks that were imported) I am not using any xref dwg's Any ideas?
Hello, I am a newbie to AutoLISP and need to write a program to delete all layers in a file except these: Fixture-Shapes, CHECKLANE, Arch-Wall-Interior (Construction), Arch-Wall-Interior, Arch-Wall-Exterior. Here's what I have so far - I'm getting the error message: "error: malformed list on input" (defun c:deletelayer2 (/ ss) ; get layers to keep ; if object not on these layers, delete ; purge - delete empty layers ; select all things NOT on these layers. "_x" is a filter that selects all. (if (setq ss (ssget "_x" ' ((-4 . "<NOT") (8 . "Fixture-Shapes, CHECKLANE, Arch-Wall-Interior (Construction), Arch-Wall-Interior, Arch-Wall-Exterior") (-4. "NOT>")))) (command "._erase" ss "") ; (prompt "\n** Nothing selected ** ") (princ) ) ) Thank you!