AutoCAD 2013 :: Xref Reload And Losing Layer States?
Nov 2, 2012
We recently upgraded from 2006 to 2013. We had a lisp routine in 06 that would reload all the xref's in a sheet so the layer states would update since simply reloading the xref did not always work. Below is the code we used. Now, in 2013, when we run it, I lose all layer states.
(defun c:xrl ()
(setvar "visretain" 0)
(command "_qsave")
(command "xref" "reload" "*")
(setvar "visretain" 1)
(command "_qsave")
View 9 Replies
ADVERTISEMENT
Jul 20, 2011
I have a Xref with multiple Layer States,
I xref'd it into a sheet with Floor plan Layer States,
nowi want to Xref it in again with the Ceiling Plan Layer Staes.
Just to be clear i want the same Xbase Xref'd in a sheet twice with 2 different layer states. how do i do this????
View 4 Replies
View Related
Oct 4, 2013
Everyone at the office where I work is having the same problem with AutoCAD 2014:
1. When creating a new layer state, and selecting all layers and clicking "remove from layer state" and then "okay", upon going back into the layer state, about 80% of the layers have returned and you have to select all and delete again and hit okay, and then go back in and do it again, about 7 or 8 times total before the layer state is cleared out and ready for you to add back just the desired layers. Even if you don't create a blank slate layer state to begin with, whatever layers you delete, once you hit okay and go back into the layer state, most of the ones you just deleted are back.
2. Even more of a problem is that sometimes all the already created layer states will suddenly reassimilate ALL layers in the drawing, and the above process has to be done to all existing layer states.
This takes an enormous amount of time to correct for multiple layer states, which we typically have in a drawing.
View 3 Replies
View Related
Oct 24, 2013
I work for a home builder and I receive the drawings in autocad format. Each house drawing comes in autocad but each floor plan and elevation is represented by a "layer state".
Each of these drawings has 7 to 9 pages and when I want to print each of those pages, I have to do it "one by one" as I have to switch between layer states.
So, each file has a layer state for: basement plan, main floor, second floor, etc. I want to find a way that I can print (convert to pdf), all these drawings, rather than going by each "layer state"
View 6 Replies
View Related
Oct 24, 2012
I have 3 states setup in the Layer States dialog box. I have even edited them to make sure they are setup. But, when I choose one and hit the Restore button, they don't. However, if I go thru the command line, they do work. Is the layer states dialog broken in 2013?
View 1 Replies
View Related
Oct 31, 2013
Using Vanilla 2014, Just recently upgraded to a Win7 pro 64bit box
1. Open drawing file
2. Activate paperspace viewport
3. Open classic layer manager
4. Open layer states manager
5. Selected a layer state defined in an xref
6, Pick Restore
7. Receive the error "The Selected Layer States Could Not Be Restored"
No further information is provided. This process has worked flawlessly on the old machine. What has changed within AutoCAD? Is this a 64bit thing? If I import the layer state directly from the xref or from an exported LAS file, the restore works fine.
View 9 Replies
View Related
Dec 6, 2013
Most our our plans sets have several (10+) plan sheets, all with the same reference drawings and layer states (properties) setup. Currently, if we need to change a particular color of a single layer, we need to open up all of the plans sheets individually and change the color (or import a layer state). This takes a lot of time.
We are looking for a third party program where we can run a batch program to update the layer states of several similar drawings automatically, without opening each individual drawing.
View 1 Replies
View Related
Dec 5, 2013
Running Autocad LT 2014 on Win 7 64bit..I believe the Layer States Manager/Editor is broken...
I created 5 layers and drew 5 lines in model space. Then assigned each line to a different layer. I then created 5 new layer states. When I edit those layer states in the layer state manager, I turned on only one layer for each layer state... When I got out of the layer state manager and select any of these 5 layer states, all layers are on.. Also when I delete layers in the layer states editor, get out of it, then go back into it, all those layers are back again..
View 3 Replies
View Related
Oct 3, 2013
I was trying to use layer states and layer filters, the way when I use the layer state 1, for example, it will only be shown in my layer panel the layers on/unfrozen for this layer state. I checked the layer management panel and removed the layers I didnt want to be shown from this layer state 1 and hit ok/close, but they're still being showed. So i created a filter, turned it on and saved my layer state with this filter ON, and nothing was changed.
View 1 Replies
View Related
Jul 2, 2013
Why is it, when I restore a layer state to a blank drawing, it cannot load the linetypes saved to those layers? I get an error that says Linetypes not loaded and then wind up with a full set of layers all with CONTINUOUS linetype.
If I bring in a block from a toolpalette that has a new linetype and layer, it will create them for me just by inserting the block. Am I missing something??
View 6 Replies
View Related
Sep 9, 2011
my xref reloading in acad v2011, it's not working-but the xref file is in the folder and in the right path as well.
View 9 Replies
View Related
Aug 31, 2010
I am using AutoCad 2011 and am not seeing the bubble notifying when an xref needs to be reloaded. I do see the notification alert in the taskbar immediately after saving the xref, but do not see the bubble with the link to reload. XREFNOTIFY is set to 2. Thought XNOTIFYTIME might have worked but I don't know how to use it as typing it in the command line in AutoCad doesn't work. Also tried (setenv "XNOTIFYTIME" "#") but typing that in the command line doesn't work either.
View 9 Replies
View Related
Mar 7, 2013
How can I create a layer on my xref so it doesn't affect othere sheets referencing my drawing without having to open a couple of hundred draiwngs. I know I can create my layer, freeze it, save my drawing, open all sheets referencing my xref and save them. Better yet, is there a setting I can use that makes my new layer pop up frozen on for all sheets while I work on my xref, on a newly created layer?
View 4 Replies
View Related
May 1, 2013
I work with bridges and get xrefs from our road designers containing hundreds of layers. I'd like to point at an object in these xrefs and get the layer name. Is there a simple way to do this? The way the LAYFRZ-command works, freezing a single layer, I figure ACAD should be able to just return the layer name instead. Does this functionality exist?
View 2 Replies
View Related
Apr 10, 2012
As I recall, in previous versions of AutoCAD, when I am in the Layer Properties Manager and I click on an xref under the Xref heading, the only layers shown were the ones in that xref, not all.
That is what is happening now. I cannot seem to find any setting under the settings for the Layer Properties Manager that would change this.
View 3 Replies
View Related
May 20, 2013
Why does the layer control toolbar always state the Xref layers by default. Is there a workaround, or a setting so the layers of the current drawing are displayed by default?
View 2 Replies
View Related
Jun 28, 2012
I created a pipe network in civil3D and now I want to insert it as an xref in an autocad file. The problem is that when I do so, I lose some properties, such as the hatches in the directional arrows of the pipes and the background mask property of the structure labels.
View 2 Replies
View Related
Jun 10, 2011
My goal is to batch plots using VB in Visual Studio 2008, Autocad Map 3D 2010, Win 7 Pro 64. It all works but now I want to apply layerstates.
I am using the example in the dev. guide here: [URL]........
My questions:
1. If you use Option Strict, how do you convert from integer to "layerstatesmasks.color"? VS shows the error "Option Strict On disallows implicit conversions from 'Integer' to 'Autodesk.AutoCAD.DatabaseServices.LayerStateMasks'." I can't figure out the conversion. Are the values documented somewhere? "clientmask" is not in the object browser or the dev. guide.
2. If you aren't sure what is masked, do you turn on all of the options on (on, color, linetype, lineweight, etc.)? Is there a sum of values that means "layerstatemasks.all"?
3. LAS files are DXF format. Do I have to read the LAS to detemine what the user wants?
4. The second argument to .restorelayerstate is the viewport id. The examples use objectid.null. I could have several layouts to plot, and maybe several viewports. Is the process a) Make the layout current, b) activate each viewport, c) set model space current, and d) restore the layerstate?
View 2 Replies
View Related
Jul 31, 2009
Is it possible to run a lisp which can extract all the xref names, make a layer with that name and then change the xref on the layer? I have got a similar routine from earlier posts but it doesn't work if any xrefs inserted in paper space (works fine on model space). could change this routine allowing to change the layer of xref in paper space too.
(defun dxf (i a) (cdr (assoc i a)))
(defun c:lxr ( )
(setq ss (ssget "x" '((0 . "INSERT"))))
[Code].....
View 8 Replies
View Related
May 15, 2012
I just installed AUTOCAD 2013 on my computer. Every morning when I start up, I have to reload by CUI file. My ribbons are rearranged, I have to arrange them back to how I had them. Why is this happening?
View 4 Replies
View Related
Mar 22, 2013
My company recently upgraded to Autocad 2013 from 2008. I was using a custom dimension cui file for sizing dimensions according to scale. I have reloaded the file into 2013. However, I am having to reload the file daily because it does not function without reloading. Is there any work around for this?
View 5 Replies
View Related
Jun 2, 2012
This issue applies only to AuroCAD 2013 64. 2012 works fine.
I have three old custom menus I use regularly. They were all in the MNU format when they were compiled to CUIx.
Let's say menu1 has a drop down menu and toolbars. Menu2 has a dropdown menu. Menu3 has a toolbar menu. They are all located in the same folder.
If I load the three menus they work fine for the duration of the session. However, once I quit AutoCAD and restart, only Menu1 loads. I still have to load the other two again. This is annoying. I have created a Profile and a Workspace with the menus loaded and set both current. Exit and again no menus.
View 9 Replies
View Related
Jul 3, 2011
I have two viewports in a drawing file. One is for existing and new conditions and one is for existing and demolition conditions. So, I want one viewport to freeze some layers and the other viewport to freeze other layers. After picking and freezing certain layers in each viewport, I created New Layer States - One called New Floor Plan and the other called Demo Floor Plan.
When I click inside one of the viewports and select the appropriate layer state it changes both viewports to the same layer state. That is not what I want. Is it possible to have one layer state in one viewport and another layer state in another viewport?
View 9 Replies
View Related
Apr 12, 2012
I just started using 2012 and have few problems. I do MEP drafting and usually use multiple states within a dwg. we create bases and xref them into the various disciplines. When I toggle between the different saved states within a dwg, the layers in the dwg appear, but the xref layers turn off every time. is the a glitch?
Also i don't know how I turned this on, but there is a blue box that appears on my crosshairs and shows me the different lines that I select.
View 2 Replies
View Related
Nov 15, 2013
in 2012 I saved a layerstate and it shows in the dialog but if I change the stet to another and go back none of the settings are held.
HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram
Note: Its all Resistentialism, so keep calm and carry on
64 Bit Win7 OS
View 9 Replies
View Related
Jul 14, 2012
We recently updated all of our software at my company from 2010 architectural desktop to 2013 autocad. We do a lot of architectural work where we use the "wall" functions to draw our floorplans. I have noticed that the walls are disappearing on some files and not on others. Or we will only be able to see the outside line of the wall, but not the interior, which results in an undesirable appearance to the floorplans.
I have also run across these error messages when opening the files, I dont know if they are related or not:
"Unhandled exception C0000005 (access violation reading 0xffffffff) at address E43AA180h"
and
"Unhandled exception C0000005 (access violation reading 0xffffffff) at address D41218AEh"
View 4 Replies
View Related
Nov 19, 2013
At work we have been using layer states to set line weights and colors in multiple xref's for plotting demo and install drawings.
So what is happening is that we continue to receive updated files from other groups and I'm unclear on how to update the layer state to include the new layers that have been included in the updated xrefs.
View 1 Replies
View Related
Dec 12, 2011
issue I'm having in my plot files. The way our office sets up our drawings is that we have a set of base files (which is where we do all our plans and details, etc), and then those drawings get xrefed into a different files located in a "plot" folder that that has our titleblock and viewports of the xrefed base files.
The problem is that the plot files have started to NOT save any of my layer states that are associated with the base files. For example, I have a base floor plan that has demolition, construction, RCP layer states that are toggled with LMAN. But if I open the plot file for the RCP and set up the viewports so only the RCP layers are visible...the next time I open the drawing the RCP layer state is abandoned...now ALL the layers are on and I need to redo the viewport layer states...
View 1 Replies
View Related
Jan 8, 2013
I have been searching for a solution to better manage xrefs. We work with arch. dwgs and they often contain several nested xrefs. While working in our "base.dwg", I need a method to correct the problem of some layers in the xrefs from displaying in the base.dwg when they're frozen in the xref dwgs. VISRETAIN is at 1. What I'm having to do is click on the problem geometry, identify what xref it's in, open that xref to record the layer state(all the layers that should be frozen or thawed), go back to the base dwg, look in Layer Manager to indentify that xref's layers and freeze the layers I need frozen. However, if I open the xref all those layers that should be frozen ARE frozen, but back in the base dwg they are displayed (not frozen). It's very frustrating...espec. when you've got half a dozen or more xrefs in many of their dwgs; which are all multiplied in the base of course so I've got two dozen or more xrefs to sift thru. It's just such a pain. I guess I need a "tip" on how to properly manage xrefs.
What would be neat is to be able independently manage all the Layer States for the xrefs separate from the base dwg's Layer States--meaning they(the xrefs' states) DON'T affect the other layers in the base(or other xrefs). LS Manager lists all layer states and if you restore one of them, it affects the entire dwg. I don't want that. I want the Layer States to control ONLY those states that apply to the xref it was created in. That way, all I'd need to do is click on the xref in Layer Manager(from the base dwg) and restore that particular xref's layer state and be DONE. That way you could manage all your xref Layer States individually (and independently from) the base dwg. Thus, if you make changes in the xrefs you can easily save/restore those states from within the base.
View 1 Replies
View Related
Apr 24, 2013
Can you save a layer state so that if someone gets into my dwg on their PC they can access the layer states the dwg that I set up?
View 2 Replies
View Related
Mar 14, 2012
How can i retrieve the layer states via lisp.
View 3 Replies
View Related