Jump to content

Corrupt DWG exports from REVIT?


DWG Destroyer

Recommended Posts

Hi all, I have a problem with a laggy autocad file that has been created from revit. Basically, what I have done is exported the revit title block to autocad so I can use it in dwg’s, hence keeping all of our drawings looking the same across the project. A little further down the line I have noticed a few anomalies when working on this revit-born dwg…

Firstly, the smallest (but most annoying!) thing is that when working on the drawing, selecting and deselecting ANYTHING will result in a half second lag. The program simply freezes for half a second.

Secondly, I notice that snaps are hindered, cad not recognising intersections and endpoints etc showing that ‘fragmented’ looking icon you see when snapping at a funny angle in 3D. Flattening does not vet this problem either. I picked up a lisp some time ago that takes a more forceful approach to flattening, which worked at first but then two days later the problem recurred, obviously where I had added to the drawing.

Thirdly, I duplicated this cad file and worked on them both for a period of time, then tried copying & pasting at 0,0 world coordinates from one drg to another only to find the copied items disappear! Deleted absolutely everything in one of the files, re-pasted and zoomed all in a bid to find the lines but still nothing until I use qselect to indirectly select them.

Purge, -purge, Audit & Recover all seem to be ineffective in solving this problem so i thought I would post it on here and see if anyone else has come across a similar scenario?

So much for a happy new year!

Link to comment
Share on other sites

  • Replies 26
  • Created
  • Last Reply

Top Posters In This Topic

  • ReMark

    9

  • DWG Destroyer

    9

  • RobDraw

    5

  • PotGuy

    2

Wow, quite the dust up you created there.

 

Re: Snaps. Have you enabled the Dynamic UCS feature?

 

Are you sure all your geometry has a "Z" of "0"?

 

Are there xrefs involved?

 

You don't have Snap enabled do you?

Link to comment
Share on other sites

Haha, Revit started it…

 

I wasn’t familiar with this setting, but looked into it and the parameters within seem to be enabled in my favour already (I’m using Revit & Acad 2013 by the way, my account’s outdated). Are you thinking there could be some behind the scenes coordinate arrangement that’s bugging my drawings out?

 

Link to comment
Share on other sites

Try exporting to an earlier version of .dwg to simplify the file a bit.

 

A title block should not have anything 3D in it, unless it's a keyplan or something. Are there any hatches or custom fonts? Check the text items. When Revit exports, the formatting is done in the MText editor. You may need to create text styles and remove that formatting.

Link to comment
Share on other sites

  • 2 weeks later...

Thanks for the interest guys!

Remark,

As I say I’ve not had any experience with dynamic UCS and so on discovering it this is what was the default. Toggling around with it doesn’t return any immediate results though… I’ve posted the offending file stripped down to just two lines and you’ll notice the deselect lag mentioned earlier (albeit it seems a little shorter now I’ve stripped file size right down). A flatten cures the snap problem, though if you work on the file for a couple of days the problem returns. I can’t seem to reproduce the copy/ paste to 0,0 scenario, this seems less persistent than the other two.

Rob,

Interesting, I saved down to ver. 2000 without a hitch, but saving to R14 crashes CAD every time? There’s only two lines in the drawing, of which have been Wblocked from my working file so there shouldn’t be any clutter in there.

Oh and mentioning the text, we did have the standard arial revit text at first, and it did start showing up slightly differently as it got copied around the drawing (ie some texts seemed slightly thinner than others, albeit they were all created from the same text box)… That was early doors though and it was soon deleted and purged out.

 

Edit: Can't seem to get the drawing uploaded?! Keep getting a popup telling me that 'The following errors occurred: new block.dwg: Upload of file failed.'.

Tried at work thinking it was choppy internet/ restriction etc but now at home and still no luck... Am I missing something? :ouch:

Link to comment
Share on other sites

I was trying to suggest that when you export it from Revit that you could try having Revit save it to an earlier version to see if that helps. Alternatively, you could try converting the .dwg to an early version using Drawing TrueView.

Link to comment
Share on other sites

Ahh I see. That could do the trick I guess, though my drawings have now been created and any copying/ wblocking etc. only transfers the problem to whichever drawing it ends up in!

 

Oh and by looking at it dwg trueview only converts back to version 2000, which I managed in ACAD anyway...

 

Something that popped into my head (not a real solution but hey) - if things really got bad I could export to dwf, then convert back to dwg again xD. Did that some time ago on another project for an unrelated problem and it vanished for good! Haha cheap and dirty one that 8)

Link to comment
Share on other sites

Ahh poor form!! My bad chaps - wasn't trying to make a statement with the blue, just a straight snip from my outlook so formatting must have remained.

 

Incidentally, I sussed the upload problem – Wblocking just two lines creates a 3.5 megabyte file?!?!?! The upload limit’s only 1mb

Link to comment
Share on other sites

Don't worry about it. I don't think there are any rules about formatting you posts. Remark is just very critical. Often to the point of being inane.

If you had used hot pink and made it extremely large, then there would be justification for comments about your choice.

Link to comment
Share on other sites

Hi all, I have a problem with a laggy autocad file that has been created from revit. Basically, what I have done is exported the revit title block to autocad so I can use it in dwg’s, hence keeping all of our drawings looking the same across the project. A little further down the line I have noticed a few anomalies when working on this revit-born dwg…

Firstly, the smallest (but most annoying!) thing is that when working on the drawing, selecting and deselecting ANYTHING will result in a half second lag. The program simply freezes for half a second.

Secondly, I notice that snaps are hindered, cad not recognising intersections and endpoints etc showing that ‘fragmented’ looking icon you see when snapping at a funny angle in 3D. Flattening does not vet this problem either. I picked up a lisp some time ago that takes a more forceful approach to flattening, which worked at first but then two days later the problem recurred, obviously where I had added to the drawing.

Thirdly, I duplicated this cad file and worked on them both for a period of time, then tried copying & pasting at 0,0 world coordinates from one drg to another only to find the copied items disappear! Deleted absolutely everything in one of the files, re-pasted and zoomed all in a bid to find the lines but still nothing until I use qselect to indirectly select them.

Purge, -purge, Audit & Recover all seem to be ineffective in solving this problem so i thought I would post it on here and see if anyone else has come across a similar scenario?

So much for a happy new year!

 

Have you tried Overkll as well?

Link to comment
Share on other sites

Tried overkilling also, no luck!

 

I’ve managed to spend some more time on this today, and thankfully now I think I know where the problems are coming from…

 

If you open up a fresh acad template drawing and go to purge it, but instead of doing so go to the ‘view items you cannot purge’ dialogue, it will show you a few of the elements you can’t remove. Not a lot though right? Well, in my wblocked file consisting of one 500mm long line on layer 0 (the only layer) I have a HOARD blocks and line types lurking in there! Now, I tried copying this one line into a fresh one. I do this and all the hidden blocks and linetypes come along for the ride! How on earth is this happening?

 

I can see the problem now, just no means to fix it…

 

NB: Before the file was wblocking to 3mb, but after xreffing it into a new drawing, using the in-place xref editor and then the ‘remove from working set’ button to extract that one line from the file it seems to be wblocking to about 1mb. Another unexplained quirk! I’ve managed to get the offending file uploaded now thanks to that though. ---> new block.dwg

Link to comment
Share on other sites

It took me a couple of tries to crack the file but when I finally ran the command line version of Purge on it the result was 1174 unreferenced linetypes were deleted. Then when I ran an Audit on the file it turned up 12,322 errors. No wonder why it came in at a file size close to 1MB.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...