AutoCAD Civil 3D :: Detach Xref Without Opening Drawing
Jul 30, 2012How to do this?
Civil 3D 2012 SP2
How to do this?
Civil 3D 2012 SP2
I wanted to detach xrefs that having status File Not found from multiple drawings (fodlers and sub folders) without opening the drawing file.
- I am able to get all the dwg files from folders and subfodlers.
- am able to find the xrefs that are working and the ones that arent
I am not able to detach the xrefs that are having the status FileNotfound. I dont know how to get the objectIds of those xrefs. I tried several ways...
Here is my
[CommandMethod("Dref")]
public void detach_xref()
{
//get the document
Document Doc = Application.DocumentManager.MdiActiveDocument;
Editor ed = Doc.Editor;
[Code] .....
I'm trying to detach an Xref from my drawing, and it says xref "has multiple references. Not detached."
View 9 Replies View RelatedIs there a setting that would cause a xref to detach itself when the drawing is closed? I have an existing model, went through the time to relocate all the attachments.
Once everything is attached I save my work close it out and move to another area, when I open up the model I was working on before with all the attachments that I had located, the xrefs are no longer attached and I must redo all the work that was done previously.
I have a drawing that I cannot detach the Xref. It's not making sense.
When I try to detach the Xref I get a message saying
"Xref xxxxx.dwg has multiple references. Not detached"
I've attached a screenshot of what I'm seeing.
I receive this error when trying to detach this dwg.
"Xref X-H- MECHANICAL ESE1 has multiple references. Not detached."
How to detach this xref correctly?
I cant figure out why detach is not an option for an x-ref I have overlaid on my drg, there are other files attached to the x-ref in question, which I suspect is the issue.
View 2 Replies View RelatedA part of an application I'm writing involves detaching a specific xref of known filename and path from an open drawing. I'm having a surprising amount of trouble figuring out how to do this or finding any examples "out there" (A'desk forum, the googles, A'desk developer's guide). I have the code for attaching an xref, but detaching is presenting unexpected problems.
View 6 Replies View RelatedI am building a plugin which needs to change the xref path within a drawing without opening it.
here is my. I am new to .Net c#
[CommandMethod("refremap")]
public void refremap() // This method can have any name
{
//Get the document
Document Doc = Application.DocumentManager.MdiActiveDocument;
Editor ed = Doc.Editor;
[code]....
Recently upgraded to Civil 3D 2013 and drawings opened up fine. Now today any drawing that opens shows the plan view as last saved but then after loading takes the drawing and shifts it into a 3d view similar to a crossection. Is there a setting somewhere that has been changed? I noticed after a windows 7 update was preformed.
View 7 Replies View RelatedIs there a way to toggle visibility of a corridor in a drawing where the model has been Xref'd into? The problem I am having is that we have one Model drawing that has a corridor.This Model is xref'd into multiple drawings. Not all drawings should show the corridor.
The only way I have found so far is to go into model and toggle the corridor on and off depending on which drawing I want to print or view. It creates problems when you want to run a Publish of multiple drawings because you always have to goof with the Model file. This seems a bit of a step back from being able to toggle visibility of objects in a drawing file with an xref atached and leaving it that way and ready to be printed at any time.
I’m having a user profile issue on one computer. I have a user, using windows 7 and AutoCAD Civil 3D 2014 on his work station. When using Civil 3D he has two issues: one, he cannot import Dgn’s. I’ve tried everything it just won’t work. Second, he cannot xref or insert PDF’s into a drawing. Now the reason why I say this is a profile issue is because if I log on to his computer (or anyone else log’s on his computer), I can do all those things in Civil 3D, import DGN’s & insert/xref PDF’s. If this user log’s on my computer, he can do all those things in Civil 3D. Import DGN’s & insert/xref PDF’s. Something with his profile on his computer is corrupt and I’m trying to fix it without deleting and creating another user profile.
View 5 Replies View RelatedI am trying to xref a base drawing. But everytime I insert the drawing, the scale factor always comes up to be 12. I tried changing it, but it won't let me. I have attached an image of the problem I am getting.
View 1 Replies View RelatedI'm working on a rather large subdivision (not uncommon, certainly used to a longer-than-normal load time) but have found one of our XREF files to be bringing drawing loads to a screeching halt. We have XLOADCTL set to 2, which explains the creation of the temporary file.
I have previously gone into the file and reset the scale list, which speed things up by about 50%, but today it appears to be doing the same thing.
Is there anything I can do to prevent this from becoming a more serious problem? Can I add some sort of SCALELISTEDIT reset command to the acaddoc.lsp file?
Civil 3D 2014
Windows 7 Professional
Intel Xeon E31270 @ 3.4 GHz
8 GB, 64-bit
I am trying to XREF my C3D Design file that has my profiles and sections in it into a drawing with a title block and viewport. Everything is fine in Model Space...but when I create the viewport in Paper Space none of the annotative text of the profile/section shows up...or is microscopic.
View 8 Replies View RelatedWhy do our feature lines all come in as the color white when xreffed into a drawing? Feature lines show up just fine in our topo drawing, so then we xref it into our design drawing and they all show as if the color is white when is is not in the layer properties. All other items (symbols, points, and lines) come in as the color they were drawn in the topo drawing.
View 3 Replies View RelatedI'm using C3D 2013. I received a survey drawing (unknown version) from a third party. I tried both xref'ing and inserting as block into my drawing and it was over 7,100' SW from my site. BUT when I copy from 0,0,0 in his drawing and paste 0,0,0 in my drawing, it lands on my site. If I xref my drawing into his drawing, it lands on his survey information. Why doesn't his drawing land on my site when I xref or insert as block?
View 6 Replies View RelatedAny tricks for opening a drawing that is too big for the computer to handle?
its 474,838 KB
I am getting a error when I open a specific drawing
FATAL ERROR: unhandled e06d7363h Exception at fel14940.
I have tried to recover the drawing (message says error were found and then I get the same error)
tried the back up file ...no go
tried a back up file from 2 weeks prior, same result.
Have tried inserting as a block to a new drawing... same error.
i usually get stock at this screen , usually what happen is i click "Continue" and it load the video screen and i start working but now nothing ... just nothing when i had this before i try to restart sometimes work sometimes it's just load me the Autocad 2012 "Non-Civil3D" .
View 7 Replies View RelatedI recently upgraded from map 2008 to civil 3d 2010. Whenever I open a drawing that was last saved/used in my map 2008 program, it freezes upon opening and tells me there are errors. If I ignore the problem, I can continue to open and work on drawing, but every time I open it up, I get the errors and the freeze. Is there something I can do in civil 3d 2010 that will bypass whatever is freezing it up? I have included a drawing that is freezing up in civil 3d 2009 and/or 2010 that was created with map 08
View 4 Replies View RelatedOn opening a C3D 2013 drawing, C3D hangs for about 5 minutes. At the bottom of the screen is the message: "Upgrading COGO points". This drawing is only 974KB.
The drawing is being opened from a network . I tried saving it on a local hard drive. That had no effect.
Since upgrading to AutoCAD 2012, everytime I open an xref using xopen, then close the xref, when I go back to the parent drawing the screen is totally blank and I have to regen to get it back. This happens almost 100% of the time in this scenerio. Easy to do a regen, but I am in and out of xref's a lot, and it's getting really old.
View 5 Replies View RelatedWhen 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.. ..
View 8 Replies View Relatedis it possible to bind an an xref via ObjectDBX without opening the drawing?
View 1 Replies View RelatedI have two drawings A and B. I work in A and I need some design elements from B.
When I open the drawing B everything I have in drawing A disappeared. I refer to all elements of design (blocks, lines, polylines, etc.).
After studying the issue have concluded that the design of all elements were automatically isolated. Right click> Isolate> End Object Isolation and everything reappears in drawing A.
I mention that I installed Autocad Map 3D 2012 x64 on Windows 7 x64 and work in Map Classic Workspace using the same coordinate system in both drawings.
When I open an drawing, AutoCAD opens *two* drawings, the one I wanted *plus* a new one (called drawing 1.)Why does this happen and can it be prevented?
View 6 Replies View RelatedA question about ex referencing. Can it be done within a drawing. In other words, can I can Xref the plan to another part of model space to then create the elevations in UCS, and then Exref the elevations from USC to a horizontal line.
This would be very useful in the sketch plan stage.
Suppose I have a Drawing Structure like:
MasterRoot
Root1
MasterChild1
Child
MasterChild2
Child
Root2
MasterChild1
Child
MasterChild2
Child
When I use XrefGraph xg = mainDb.GetHostDwgXrefGraph(true); in Code then I get all the Files as a node including MasterRoot (say count=6).
If I want to get Only direct Children (here, Root1 and Root2)(means count=2 only), then what i have to do?
Is there any advantage when inserting someone else drawing into yours to xref it rather than copy and pasting into your drawing?
View 1 Replies View RelatedI have an operator here who has an XREF that he brought in and it did not line up as it should with the remainder of the drawing. He then went in to the drawing being XREF'ed and reset the origin so that it would line up properly. When he did so, the XREF did move but no to where he set the origin. The XREF is still showing the insertion point some place other than where he has the origin set on his XREF'ed drawing.
View 6 Replies View Related