AutoCad :: Relative Xref Paths In New And Existing Drawings
Jun 11, 2012
For new drawings, is there a way to program Autocad to always load Xrefs relative? We pretty much use xrefs everywhere, and it seems like it would save a lot of time if I didn't have to open the External References and change each xref to relative.
Also, if you have an existing drawing and need to change the xref from absolute to relative path, is there a way to have it automatically do that? I'm assuming there isn't, but thought I'd ask.
I am trying to repath our xrefs from hard paths to relative paths. for example, currently our xref paths look similar to this:
F:/208009.00/arch/floorplan and we would like to repath it to: ../arch/floorplan
I have already tried to use reference manager. it takes far too long and usually fails to work.
heres where im at. i would like to use the redir command where i put in the old path as f:/208009.00 and new path as ..
however we have hundreds fo drawings in multiple folders that need to be changed. i am looking for a way to dynamically import the path info without having to enter each path manually. i have a script to isolate the info i need per drawing, but cannot figure out how to transparently input it into the 'new path' option of the redir command.
I wanted to attach an image as Xref to my drawing. I like to set my Xref's relative but in this occasion I get the error "Relative path cannot be assigned".
Every now and then I go back and try to use publish to speed up printing but I always go back to plotting one by one.
I work in a housing construction office and I have 10 separate drawings side by side in model space for house plans that I need plot separate to give to certain people. My problem isn't that I can't publish them separately its that I can't save them over existing pdf's individually predetermined.
Q1. do i just have to go through and change every layout name before or after i publish?
Q2. how do i change the output publish location?
Q3. can each layout be saved to a different existing pdf and remember it?
Q3. can i save these setting across to a new drawing?
Problem with lost Xref path when attaching a file using relative pathing? We are using Autocad 2010 and Windows 7. If we attach the same file using Windows XP the problem does not happen.
I have a lot of drawings that someone inserted the Xref's, but the Xref's are "Attached, and Full Path"; however, I need to change them to "Overlay, and Relative Path".
Periodically, when I try to create an XREF using the Relative Path option, C3D will tell me that it can't use the relative path. But if I then close the drawing and reopen it, the command works just fine. why C3D sometimes fails to do this, or why closing and reopening the drawing fixes the problem.
Any variables that would cause my XREF paths to change from Full Path to Relative Path when I save a drawing?
This is something that just started happening recently and has me completely at a loss. I haven't installed any patches or hot fixes recently and nothing else has changed that I'm aware of.
When I export an FBX file from 3DS Max it is using the full path to each texture. I would like it to either use a relative path or just export the name of each texture without any path. How can I do this?
I created an AI action that will perform the following actions on an AI file. Save currently opened AI file.Export current AI file as JPG.Export current AI file as GIF.Export current AI file as PNG. After using this action, I realized there are some thing that need to be changed in order for it to be truly useful. First, I would like the JPG,GIF,and PNG to save to the same directory that the currently opened AI file is in. For example, if I open an AI file that is located at C:/images/image1.ai and run my image export action, the JPG,GIF, and PNG should save to that same directory (C:/images/). In a nutshell, I want to make this path dynamic but when I create the action it forces me to specifiy a specific location.
This becomes a problem when I try to send this Action Set to other memebers on my team. If they load the action set into Illustrator, it doesn't work properly because the save location is hard coded in the action.
What are 3 types of paths that can be used for storing an xref? when inserting an xref, how does the Overlay option differ from the Attach option? can xref drawings be scaled, rotated, or positioned at any desired location?
We recently updated our servers and with that the path to all of our drawings. For example what was once located at W:FilesAutoCAD is now located at W:CorporateAutoCADDrawings. The problem is every time we open an old drawing for the first time we must redirect all of the xrefs to the new location. My question is, is there any way to do this automatically for all drawings when they are opened? Is there a way to tell the software to replace "FilesAutoCAD " with "CorporateAutoCADDrawings"? I'm sure others have encountered this dilemma.
I have many drawings that were created with the xref's as full path and I need them to be relative path. I would just go in and reatch them as relative path but the drawings are complete and there are different layers frozen in each one.
I prepare drawings for a client which include .jpeg images as part of the final product. The problem is: When I work on these drawings from my home office, I need to re-establish the .jpeg's path in order to work on the drawing. Then when I send these drawing files back to my client, they need to re-establish the .jpeg's path on their end in order to display the drawing properly. My client and I would like very much to be able to avoid this "re-establishing paths" step, where we can each open the drawing file on our computers and immediately see the jpeg image as part of the drawing.
i need to send a drawing out to a clent of our's. it has a XREF with it . so here what i do. open drawing, purge it, go to xref manger highlite the referrence, right click, hit bind, Bind Xref/DGN underlay window comes up check bind hit ok it go thur it stuff. the xref disapear from the drawing but it still shows in the xref manger with a coment on the command line that say : Error : at least one of the specified xref failed to bind for an unknown reason.
We are a small company with two PCs - 1 laptop and a server. We are having problems using xref drawings across the network. The laptop is mapped to the Z drive and the reference file is on the server (D drive). Each time we open a drawing on the laptop (Z drive) the xref files which is saved on the server (D drive) cannot be seen. We reattached the file and it works fine until we closed and reopen the drawing. When the drawing is opened on the laptop the xref is not loaded on the screen. However, the file extension can be seen but no drawing is visible.
In summary how can we tell get the laptop to permanently reference xref files saved on the server without them dropping out?
When I import a drawing using XREF command from one file to the new file the scaling between model space becomes all messed up. making the adjustments between the two?
So, I am working off a site drawing of an 80,000 sq ft production plant that was drawn by some old school drafters using probably AC 14. Most of the departments are drawn in xrefs. However, probably 10+ people worked on this project of mapping the plant so nothing is the same. I cannot describe the frustration of inconsistencies of this drawing. Alas, my question: some of my xrefs are shown in literal dim lines, what is going on? When you go to the original xref, the lines are as bright as they always are. When the xref is in the main drawing, the lines are dimmer than everything else.
I've recently (this morning) come into the issue of the old plot printers being saved in CAD files. I've found a number of tutorials online about adding new pages, and setting the default plotter to "none" via DWGTruView, but these are just shy of what I'm looking for.
Is there any way to tell AutoCad 2013 that if the current/default plotter is "None" to set it to a certain printer? I have about a thousand CAD files that need this change made on them, so obviously a more automated approach would be greatly appriciated. Currently the entire set of them has has their Plotters set to "None", and a custom Page Setup configured.
I have a problem with my autocad. The administrator started me out on AutoCAD 2012 global.
The problem existed then so. Now he has me on AutoCAD 2012 Imperial . The problem still exists.
When I open an existing drawing that I have never opened with my version of Autocad. It opens the drawing in Metric units. I do not want Metric units. I would like it in Imperial units. Every time I open an existing drawing, I have to change the units to Architectural.
I'm attempting to create a sheet set from existing drawings, but when I point the "New Sheet Set Wizard" to the folder containing my 8 or so drawings (with 24 or so associated layouts), only 2 drawings appear with 6 associated layouts for import. The other layouts don't even show up as being part of another sheet set. How do I get the New Sheet Set Wizard to "see" the layouts?
I am trying to come up with a way to track a block or xref in multiple drawings. I have multiple drawings that have the same block in them and I was hoping that there was a way I could find out what drawings have the block without having to open up every single drawing.
In the attached screencast video you will see that I have a drawing set up on the left of the screen to show where all the sections are taken through the building. I have setup a layer called SPC SECTION LINES which is set up to be bylayer and on the colour green.
When I XREF this drawing into the sheet file on the right side of the screencast you will see how the colour turns yellow when reference into the new sheet file?
Why does the colour of the line change when it gets xrefed into a new drawing?
When ever i open a dwg file (it contains Xref files) it's take a long time to open... and i tried the same file to open in Autocad 2007, it's opened with in a second.... and also note that the Autocad 2007 installed in a Dual core pc with 4gb RAM.. and the 2012 is installed in Core i7 12gb ram with NVIDIA graphics card.. and it's 64 bit Windows 7 too.. When i try to open a file it's shows "Loading c:/ ....... base.dwg, etc.. ..
I have a problem with Dimension association to any existing object in my drawings. If i draw anything new in the same drawing this problem does not occur. The leaders are also associating themselevs to these objects.
When i select a line, no grips appear even though if i draw a new line they do.
-I have tried to use DIMDISASSOCIATE the dimensions from the objsect to no avail. -I have tried changing the DIMASSOC variable but this didnt work. -I have tried exporting the objects to new files but still the same problem, only with the objects from this drawing.
It seems to have made every object associative. The only thing i can think that caused this was i pasted in a drawing from a pre 2002 Autocad version.
The 2D drawings I am working with were exported from 3D REVIT files to 2D AutoCAD files. There are several XREFed drawings that are both mechanical and architectural from the original REVIT files that for whatever reason, the block's line weights came over with line weights of 70 in those blocks.
When I plot, the objects are a blur with the line weight so high. I tried using the command "setbylayer" but that didn't work since nested blocks still had lineweights of 70. Is there a VBA or LISP routine to run through all the blocks (including nested) that can change the line weights to a given number?
I've created a new sheet set with some existing drawing files. These files have several layout tabs in each drawing. The Sheet Set Manager (SSM) seems to import the layout tabs in random order, not in the order they appear on the drawing, nor in alphabetical or numerical order. In addition, the SSM imports and numbers all of my drawings in reverse order. Any system variable setting, or some other property setting somewhere that will change this back to ascending order?
Note Layer > Duplicate will not work in this regard, because I want to copy one group of paths/elements from one layer to other existing layers, not to a new layer.
I have not found a command for this, nor have I found any scripts. Note I'm using CS3 but have been thinking about an upgrade.
I know that in ACAD you can use the xref manager to see where the actual file for the xref resides on your computer/server/etc. What I'm curious about is whether or not the inverse action is possible. Can you somehow access the file (not the output sheet where it's being xref-ed) and see what other files are using it as an xref?
I've come in on a project that is nearing completion and have been assigned the task of "cleaning up the project folder." Unfortunately, there are a ton of files in the different folders that are no longer in use on the final output sheets and I need to keep the ones still in use and archive the ones that are no longer needed. What I've been doing is going through those sheets and reviewing the xref manager for each sheet to see which files are actually put onto those sheets and making a physical checklist from which to organize my findings. Once the checklist is made, I then archive all the files that are no longer being used.
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"))))