Problem with importing a DWG file

Problem with importing a DWG file

Marcus.Isacsson
Collaborator Collaborator
1,233 Views
8 Replies
Message 1 of 9

Problem with importing a DWG file

Marcus.Isacsson
Collaborator
Collaborator

Hi fellas!

I really can't wrap my head around this file (attached). It ends up being 'ruined' no matter what I try.
Using AutoCAD 2019. Been trying purge, audit, exploding blocks, removing things that are far away, changing units to "meter", and the plugins Killzombies (proxy remover) and Rpurge (Radical purge).

AutoCADAutoCADRevit import (link)Revit import (link)

0 Likes
1,234 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable

Hello! i've managed to get your DWG to import, i did a few purges and a few 'overkill' commands in autocad first and exploded pretty much everything but it imported fine eventually. I've reattached the dwg that i've altered. Capture.PNG

0 Likes
Message 3 of 9

Marcus.Isacsson
Collaborator
Collaborator

@Anonymous wrote:

Hello! i've managed to get your DWG to import, i did a few purges and a few 'overkill' commands in autocad first and exploded pretty much everything but it imported fine eventually. I've reattached the dwg that i've altered. 


Awesome. I need to have control over all the steps though. Writing a short manual for our own sake.
Just ordinary purges? No flatten? Overkill with yes or no for "Remove hidden lines"?
Which AutoCAD version and which version for the save? Revit 2018? What did you exclude from the explode and how (Qselect?)? 

Maybe one of the plugins messes it up? Killzombies or Rpurge?

Thanks for helping out

0 Likes
Message 4 of 9

Anonymous
Not applicable

No worries! I used autocad 2016 (just the one i had open at the time.) I selected the whole lot and exploded it just once tho otherwise it'll start to lose some of the geometry. The after that yes regular purge, but had nested items, zero length and empty text objects and orphaned data all ticked. Then after the purge ran overkill with remove hidden lines. the purged again same steps. then imported into Revit 2017 (again the version i was working in a t the time) 

For completeness i've just imported it into revit 18.3 and its worked fine too. Capture.PNG

Message 5 of 9

Anonymous
Not applicable

I see in the dwg file you uploaded that you had some XREFs.

Also there is a hatch with non-associative boundaries. AutoCAD does not deal too well with hatches that have their boundaries in an XREF. If this can be avoided, things might be better.

 

 

0 Likes
Message 6 of 9

Marcus.Isacsson
Collaborator
Collaborator

@Anonymous wrote:

I see in the dwg file you uploaded that you had some XREFs.

Also there is a hatch with non-associative boundaries. AutoCAD does not deal too well with hatches that have their boundaries in an XREF. If this can be avoided, things might be better.

 

 


I detached all XREFs but still had trouble importing it to Revit. Will run some more tests today.
One of the commands I ran might've messed it up.
- Explode
- Audit
- Rpurge (plugin, radicalpurge)
- Killzombies (plugin, removes proxies)
- Superflatten 2.0 (lisp)

- Overkill
- Save

0 Likes
Message 7 of 9

Anonymous
Not applicable

@Marcus.Isacsson you could be right, when I managed to get it to import I only used native autocad commands. Don't know if maybe one of your plugins has maybe effected the geometry? 

0 Likes
Message 8 of 9

a_meteni
Advisor
Advisor

Sorry, Wrong post.

0 Likes
Message 9 of 9

Marcus.Isacsson
Collaborator
Collaborator

@Anonymous wrote:

@Marcus.Isacsson you could be right, when I managed to get it to import I only used native autocad commands. Don't know if maybe one of your plugins has maybe effected the geometry? 


I think I might've found it. If I moved everything closed to origo (0,0) it imported like it should.
Did you have to use that step? Totally forgot that part. 

Sometimes we don't have to move things closer to origo and sometimes we seem to have to. Does anyone know why that could be?

I've attached the Superflatten2.0c lisp as a bonus and thanks for all the help I've gotten (credit Joe Burke). 
The best method I've tried for flattening a dwg so far.

0 Likes