AutoCad :: Quick Command That Lists All Current Frozen Layers In Drawing?
Apr 3, 2012
Is there a quick command that lists all current frozen layers in your drawing? I am using Autocad 2012. We recently switched from 2006 in which the quick command YT would show all frozen layers and allow you the option to thaw them. We were using ArchT so Im not sure if that was something associated with that.
I have been trying to use the tcase command to change text case on a current drawing. some of the text is listed in properties with :A1 and various other squares and ( etc .). Any way to change this text. When I try exploding it and changing to mtext the fractions and all parts of the text is exploded as well.
AutoCad 2011. I am having no luck when trying to drag a command from the Command List pane to the Quick Access Toolbar. I have success draging to Tool Palettes
Is there a macro/script/deisel that will automatically print a pdf (cute pdf autocad lt 2007) to current plot settings in current drawing directory and give it the current drawing view name and number? Disk space not a problem these days and would save time to have a pdf copy of all drawing tabs readily stored in the directory ready for issue.
I have a Layer named "Arch - Niveau 1".I would like to enter in the command prompt "a1"..It would read if the layer is frozen or thawed and if it is frozen, it will thaw it?
And if the layer is thawed, it would freeze 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 "a2" and "Arch - Niveau 3" command "a3". Is it clear?Now the lisp I've found and modified is this:
(defun c:a1 (/ 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 enough familiar with the "not", the "progn" the "flag", "and" and "logand" (!!!!)
I have a sub that gets a page number and a collection of layer ID's to freeze. The sub will freeze the selected layers in all of the viewports except for the new one.
After running the program, the layers in the specific viewport are still visible, but when you go into Model mode in the viewport and check the layer status, it shows the selected layers are set to Freeze in the viewport.
If I save the drawing, exit,and re-open it, the layers are now not visible. I believe I have the "Regen" in the correct spot.
The code is attached.
' Freezes the selected layers in all other existing viewport layouts Public Sub freezeOtherLayouts(ByVal pageNumber As Integer, ByVal layersToFreezeLayerIds As ObjectIdCollection) Dim doc As Document =
This morning the shop brought back a set of drawings and requested that I provide a cut list for the fab department. Our drawings consist of an assembly drawing and materials list on the first page with several individual parts on each of the following pages. I am looking at including a column in the ML for the operation ( laser, saw, shear) and sorting the list by it. However when I do this the Item Numbers on the list are all confused. If a person were to look at a balloon on a drawing and then attempt to find it in the list it would be difficult and time waster.
The questions.
1. Is there a way to renumber the item list after sorting the material?
2. If I place an assembly view off the edge of the sheet for each of the following sheets and then place a materials list on each sheet, is it possible to create a plugin that would find which parts are on the sheet and hide all the other parts on the list? I have just started going through the "my first plugin" tutorial and this sounds like a place where it should be useful but I don't know which tags I need to look for.
have xrefs in drawing froze some of the xref layers, changed colors on some others looks great on screen, but all the original colors show on plot, along with the frozen layers...is this to do with the xref?
I don't have this problem on all my files, only a select few. When i save a file and reopen, all the viewports in which I have frozen layers are all reset. All layers are turned back on and I have to go through every viewport and refreeze layers. This problem has persisted long enough that I unfortunately know when I close a file I will have to reorganize the layers next time I open the file. Is this a setting issue or this a bug in the file?
When a drawing is printed using PLOT the drawing is printed fine. If I batch plot (or publish) it prints all the frozen layers of the xref and also prints the layers as assigned by the XREF drawing and not the new colours I have specified for this drawing.
I have an old routine that freezes layers that are off. I would like it to also turn off layers that are frozen. It took a while but I think I figured out how the old routine works. I was having trouble determining how the routine would know if a layer was off or not. I found if the color was a negative number that meant the layer was off (cond ((< (dxf 62 l) 0) (command "f" (dxf 2 l)))). How do I tell if the layer is frozen?
I was also wondering what the character was after the DXF code ie. (dxf 62 l). Is is a lowercase L or an upper case i and what function does it have?
Below is the old routine that freezes layers that are off.
I have a few files with layouts that have multiple viewports where layers were frozen to get the desired display, the drawing was saved, yet everytime the drawing is re-opened those layers are on again. This is creating problems because I am batch plotting many drawings at once. The layers are not locked.
I am currently working on a product where I want to make 2 part lists in my drawing of the same assembly. The first parts list has to view all the parts that are always delivered with our product, and the second one has to show the optional parts and features that could be delivered with the product.
I want both lists to be categorized the same way (comments, material, name), I want the numbers of the list to be chronological (also I don't want the second parts list to start the numbering at 1) and I want both lists to stay connected with their balloons.
Is there any way this can be done, like adding or removing part links to the list manually?
working with acad 2012 and not having good luck with links and functionality with excel. tried the links manager,pasting excel/entities. trying to insert separate files in model space in essence creating multiple cut lists for the drawing. Is there a tutorial that goes in depth with this? just froze one file at work, lucked out and opened at home. Each cut list is an individual worksheet, which may be the problem.
In the hatch dialogue there is a setting to target the hatch to a specific layer. How does one set the default to ALWAYS be "Use Current"?
Attached jpg shows the target layer as ffbrg, but I want that to ALWAYS read "Use Current" when creating a NEW hartch. In other words, I am happily working in a specific layer creating all these hatches and then realize LATER that all the hatches were in different layers causing great confusiion and havoc.
I want to add the Measure (Distance) command to my quick access toolbar. When I right click on the Measure button the "Add to quick access toolbar" is grayed out in 2013.
Also why can't they make it so when I add something to the quick access toolbar stays added to all file types. I have to add it to .ipt, .iam, .dwg...
I am familiar with the LAYMCUR command to select an object and make that layer current. I am hoping there is a command to select text or a dimension and make that style current. I can't fine such a command. I have to select a text, see what style shows up in the box at top, go to the text style box, find the style and make it current. It seems like unneeded steps. It's simple for layers, why not text and dimensions?
I have a user which we just installed Autocad Civil 3D 2014 on his computer that is running on a Windows 7 64-bit OS. However, he has had the same problem with Civil 3D 2011, 2012, and 2013 ever since we took him to 2011 in September 2011. So, it is not something new. It may have been around before then but my companies common practice back then was to freeze layers with a script file before plotting. While attending a class back in 2010 or 2011, he and his group were told to “do not use FREEZE on layers in Civil 3D” since things frozen did not get updated like they would if they were just turned off. So, they have been using the “ON/OFF” commands on all Civil 3D files since then.
Here is the problem:
A drawing, typical of this and other jobs he does, has a title block which is an xref in paper space and the site plan xref in model space. He can turn "OFF" certain layers from the site plan as viewed from paper space to remove clutter and then go to make a plot. After getting it set up to print and going to the preview the layers he has turned off appear in the preview and if he goes ahead and makes the plot or PDF those layers that were turned off will plot out.
The work-a-round they have been using ever since has been to go back into the file(s) and “FREEZE” the layers that were turned off, make the plots and then go back and “THAW” the layers before ending the drawing.
Things we have tried:
Set Visretain=1 Used the “Publish” command. Set Layerevalctl=0 or 1
Is there a way to use ON/OFF instead and have the layers NOT plot out? OR, is this something that AutoCAD will not do regardless? Has it always been that way and we have been unaware of it through the past four releases?
Turn on/off layers in the current viewport only, I’m wondering if there is a command that can be plugged on the “quick access toolbar” by which one can turn on/off layers in the current viewport only.
The available command to do so is “Freeze and thaw in current viewport” (attached) and it sounds it can’t be plugged in the “quick access toolbar”!
Is there a way to plug the command “Freeze and thaw in current viewport” in the “quick access toolbar” (attached)?
Current text style: "Standard" Text height: 0.0833 Annotative: No Current text style: "Standard" Text height: 0.0833 Annotative: No Current text style: "Standard" Text height: 0.0833 Annotative: No Current text style: "Standard" Text height: 0.0833 Annotative: No
I have a drawing with several views I've saved using the View Manager. Since creating the views, I have created some new layers. Now when I use View Manager to set an existing model space view current, the new layers are set to frozen. When I created the views, I un-checked the 'Save layer snapshot with view' checkbox.
I can thaw the new layers, then use the 'Update layers' button to correct this, but it's a hassle. Why is it freezig layers created after the view was created?