Search the Community
Showing results for tags 'frozen'.
Found 4 results
whiteyak posted a topic in AutoCAD 2D Drafting, Object Properties & Interfacewould anyone know why a layer wouldn't be showing up? i've got the layer both switched on on my view port and on the model space, it's also not frozen. it's showing on the model space but not on the paper space? help would be appreciated!
Troispistols posted a topic in AutoLISP, Visual LISP & DCLHi, I found and modify a lisp routine, I would like to know if it is on the right track. Also to mention that I don't really understand all the mechanics of it but first, here's what I want to achieve : -I have a Layer named "Arch - Niveau 1" -I would like to enter in the command prompt "a11" -It would read if the layer is frozen or thawed and if it is frozen, it will thaw it (? sorry bad english) And if the layer is thawed, it would freeze it That's it! What could be added is: To check up if the layer exists and if not, create it. Would do the same for 2 other layer named "Arch - Niveau 2" command "a22" and "Arch - Niveau 3" command "a33". Is it clear? Now the lisp I've found and modified is this: (defun c:a11 (/ lay ldef flag) (setq layn "Arch - Niveau 1") (command "_.LAYER") (if (not (tblsearch "LAYER" layn)) (command "_Make" layn) (progn (setq ldef (tblsearch "LAYER" layn) flag (cdr (assoc 70 ldef))) (and (= (logand flag 1) 1) (command "_Thaw" layn)) )) (command "") ) This lisp looks if it exists, if not, create it and only thaw the layer. I'm not sure I want to understand all the mechanics because I'm not enough familiar with the "not", the "progn" the "flag", "and" and "logand" (!!!!) Can you help me complete my lisp please? Thanks a lot !
Stoofer posted a topic in AutoCAD Drawing Management & OutputLadies/Gents, Looking for a bit of assistance to an odd occurence with one of my drawings. I have a room full of furniture that I want to show in 3D in the conceptual style from a few different views. I've set up a couple of viewports in paper space, then rotated my view to suit, went into the layer properties for each and turned off the 'walls' layer within the viewport - walls disappear in each viewport and I have what I want. Problem is, when I then save the drawing, the frozen layer reappears. Checking back into the layer manager, the 'walls' layer still says its frozen within the viewport, but I can cleary see it on my drawing... Any ideas on what might be happening? It's AutoCAD 2009 and I'm not using Xrefs. (It seems a similar problem can be sorted if its Xref's) Thanks for your help