Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Drawings causing Xref's to get corrupt

17 REPLIES 17
Reply
Message 1 of 18
lawreyj20
904 Views, 17 Replies

Drawings causing Xref's to get corrupt

We have been having a lot of problems with our CAD files getting corrupt as of late. We are using 2012.

Basically we have an overall dwg which has several projects xref'd into it. Then we are xrefing the overall into what ever project we are working on. We will be working on our plan sheets and have a fatal error which is then causing all xref's to become corrupt. Any help on this would be greatly appreciated.

 

Jeff

Jeff

Windows 7, C3d 2012, 64 bit
17 REPLIES 17
Message 2 of 18
dgordon
in reply to: lawreyj20

are you running windows 8 operating system?
Dan

Civil 3D 2013
Win 7 Pro x64
Intel Xeon 2.0GHz
12Gb Ram
ATI Firepro 4800
Dell T5500
www.preinnewhof.com
Message 3 of 18
lawreyj20
in reply to: dgordon

Windows 7, 64 bit, all services packs are up to date.

Jeff

Windows 7, C3d 2012, 64 bit
Message 4 of 18
Jay_B
in reply to: lawreyj20

Have you tried audit and recover, including on each associated/attched xref?

Often times the trouble may be lurking in an xref.

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 5 of 18
lawreyj20
in reply to: Jay_B

Yeah.

I have audited, purged.

However if I do a recover now it wants to through everything on audit bad layer.

Jeff

Windows 7, C3d 2012, 64 bit
Message 6 of 18
Jay_B
in reply to: lawreyj20

"Basically we have an overall dwg which has several projects xref'd into it"

 

Can you elaborate on your workflow?

What is meant by several projects?

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 7 of 18
lawreyj20
in reply to: Jay_B

Basically we have different phases of the project xref'd that make up the overall base. We need to see some of the future information and previous phase information in our projects. I have never run into this kind of problem before so I'm trying to understand if I need to change the way I'm thinking these xref's should opperate.

Jeff

Windows 7, C3d 2012, 64 bit
Message 8 of 18
Jay_B
in reply to: lawreyj20

If I were in your situation I would detach the xref's 1 at a time, re-open the file and try to find a pattern or at least see if it's the parent drawing or which file is causing the fatal error.

Without seeing the files it's anyone's guess what may be happening.

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 9 of 18
lawreyj20
in reply to: Jay_B

I'll give it a shot Jay.

Thank you for your help.

Jeff

Windows 7, C3d 2012, 64 bit
Message 10 of 18
Joe-Bouza
in reply to: Jay_B

I'll bet a spit to a snot there is a nested xref causing a circular problem.

Your Name
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

Your Name

EESignature

Message 11 of 18
troma
in reply to: Joe-Bouza

Well that just sounds unhygienic.

Mark Green

Working on Civil 3D in Canada

Message 12 of 18
dulin75
in reply to: lawreyj20

Have you found an answer to the problem.?

 

We also have the same issue of corruption in our xref files. I have been able to narrow it down to when a view port is rescaled. It appears that autocad is trying to resize all the annotative objects in the current drawing and xref files to match the current view port scale. This is somehow corrupting the xref files to a point where we have to rename the backup file as soon as we notice the change so it can be recovered without any other issues. If we manage to catch it right a way we can get the xref fixed but if we don't notice it for a couple of days we have to pull backups to get the reference file back.

 

Our xrefs are attached as overlays and all demand loading is turned off.  The interesting thing is, this problem is not consistent from machine to machine. We only have the problem with one designer's machine at the moment but we have noticed it on others from time to time.

 

 

Message 13 of 18
troma
in reply to: dulin75

That rings a bell for me.
I was switching some viewports' scales here, and the x-reffed drawing became corrupt. Probably about a year ago now, and was in C3D 2011.

I found if I turned off the viewport I could do whatever I wanted to the scale, turn them on again, and no problems. If they were left on while I did it, the x-reffed drawing corrupted.

Mark Green

Working on Civil 3D in Canada

Message 14 of 18
gbondoc
in reply to: troma

C3D 2012, win 7 64, 

Same issue here as @troma. x-refs get corrupt. Doesn't happen all the time and very hard to replecate. Been seeing it for over a year now. Adding anno scales to base reference drawings seemed to lessen the file corruption. Moving to 2014, hope this goes away. 

Message 15 of 18
ceethreedee.com
in reply to: Joe-Bouza

Wild stab here

 

in any of the directories you are working in Jeff is there an "acad.lsp" file?

 

Kapanther

Civil 3D 2021 (Update 1), ACAD (SP1.3) MAP (HF0.4)
Infraworks 2021.1,
Win 10 -DELL Precision Notebook 7730

ceethreedee.com
Message 16 of 18
CilleH
in reply to: lawreyj20

I was running AutoCAD 2015, full licensed version.

 

At the end of a very long, large project, all of a sudden, I cannot save my electrical x-ref!  

 

This is what comes up.....

Unable to save drawing______________.dwg

Drawing saved to ____________\save8920.tmp

 

WT?

 

I can save my x-ref as something else, but the file I need is completely gone.

 

I dont need this at the end of a huge project.

 

My tech guy even downloaded AutoCAD 2017 for me....guess what...does the same thing!

 

I have 21 years AutoCAD experience, not that I am a newbie!

 

Any suggestions?

 

Thanks in advance

Message 17 of 18
CilleH
in reply to: dulin75

I didn't rescale the viewport, once I set it up...thats it, no change. I am the only one that works on it.

 

Thank you for the suggestion tho. It hasn't happened again as I recreated the x-ref and gave it a different name and remapped all drawings referencing it. If I try to go back to old name it will do the same thing.

 

This one has me stumped.

Message 18 of 18
CilleH
in reply to: Joe-Bouza

nothing nested in my x-ref causing a circular.

 

Thanks for the suggestion

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report