Importing DWG files into SketchUp can lead to unexpected results and problems. In this guide I’ll outline the steps I perform when importing a DWG drawing. The DWG files I work with are usually building plans or site plans for architectural projects.
Preparations AutoCAD
I avoid importing directly into SketchUp. A DWG file often contains excess old data which you don’t want to import and some features doesn’t translate well into SketchUp unless you make some preparations.
1. Copy all geometry to be imported to the clipboard.
2. Create a new DWG file.
3. Paste everything at the origin.
This is to avoid problems with old stale data and hidden stuff that might cause problems when importing into SketchUp.
4. Explode all 2D Polylines
Arcs within a 2D Polyline will appear straight when imported into SketchUp unless you explode the 2D Polyline so the arc segments are extracted from the polyline.
5. Purge
6. Audit
7. Purge
These are the final steps I perform in AutoCAD that I do in order to reduce the amount of stale data imported.
It might sound a bit convoluted but all these steps have specific purposes and have proved themselves over the last five years to greatly deduce the amount of problems that might appear when working with imported geometry.
8. Check DWG units.
Before closing the file I ensure to check what units are used in the DWG file as we need to know this when importing into SketchUp. In AutoCAD you can do this by typing the command: UNITS
Importing into SketchUp
9. Open a new SketchUp model.
I avoid importing directly into a working model. Instead I open a new fresh model so I can ensure the import is correct before merging with the main model.
10. File → Import → Select File
Important! Click the Options button in the file dialogue and ensure the units are correct. SketchUp does not detect the unit from the DWG file.
If you import with the incorrect units and simply scale up or down the geometry to fit you might run into accuracy problems.
Also ensure that “Preserve drawing origin” is unchecked. SketchUp doesn’t handle extremely large units very well – which is what you will get if you import a DWG which was drawn at world coordinates.
If you don’t do this you are likely to suffer from the mighty “clipping bug” where as you navigate around your model parts of it will appear to be clipped away and you start seeing through your model.
11. Remove all materials (Optional)
The DWG files I import often have colours applies to the edges. I very rarely have any use of these materials. Because of that I tend to remove all materials of the imported geometry.
Instead of removing each material one by one in the Material Browser I use a plugin I wrote, Material Tools, which will do it in one big schwoop! Another reason to import into an empty file and not your working model.
12. Window → Model Info → Statistics → Purge Unused
As in AutoCAD you should purge your SketchUp model often. And before inserting the imported geometry into a new model it should be purged first so you ensure you’re not importing unused data.
Notice I have checked the “Show nested components” checkbox. It does not affect the purge operation, but it makes the statistics display information for the whole model, not just the root level of the model.
13. Inspect the model and see if everything looks OK.
You might find that some blocks, imported as components, will appear to jitter and jump around in the drawing when you navigate the model. The reason for that will be that the block had an insertion point far away from the geometry. You can either explode the troublesome components, or if you need to keep them as components you can simply reset their origin. You can use the plugin Axes Tools to reset the axes en masse.
Additionally, Dynamic Blocks in AutoCAD might cause unexpected results when importing. For instance, at the office we sometimes have a dynamic block for vehicles with different turning radiuses illustrated. This dynamic block has multiple blocks inside it which is hidden depending on which radius you want to display. When these are imported into SketchUp all the variations, all the hidden blocks, inside the dynamic block will be visible. These require cleanups either in AutoCAD or SketchUp – removing the redundant hidden blocks.
Note on DWGs with 3D data
If you’re importing DWG files with 3D mesh data you might want to run CleanUp on it after step 11. This will attempt to reduce excess edges and faces which can greatly increase the performance.
Bonus Tip: Exporting
When you export a DWG from SketchUp the units will incorrectly be set to inches. Example; if you export a 1000×1000 mm square it will be 1000×1000 units in the DWG, it will be set as 1000×1000 inches.
To correct this you must redefine the unit type in the DWG file. In AutoCAD, type UNITS
and you should get a dialogue where you can change the units.
I don’t have autocad, just the free version of Google Sketchup, and I tried to import my DWG file from my architect into GSU, but the file imported all 10 drawings as flat images, basically if I was just looking at my plans. I want to be able to adjust them and have them 3D in GSU, is it possible? Would it be possible for me to post a link to download the file so that somebody can convert it to a GSU file? I need to adjust this very soon, but I can’t now. Thanks.
SketchUp will import the DWG as it is. If you get 2D plans imported it means your architect has given you 2D drawings.
I think Dave means the files imported as static instead of editable lines. It sounds like he wants to manipulate the lines and create 3D objects from them but can’t because it brought them in more like a picture file.
The DWG importer doesn’t import pictures (I’m assuming you mean PNG or JPEG images?). If an DWG import comes in as 2D it’s because the DWG files is in 2D.
I have a question about the export from sketchup to DWG/DFX. Every time I try it, with ‘Export > 2D Grapghic’ I get an empty file in Acad. I tried several versions (autocad 200/2010 etc).
I have Sketchup pro 2013 and Acad 2013 (educational version) on a Mac (10.8.5), but I also tried it on a ‘normal’ laptop, without success.
I hope anybody can help me, cause this is very important for my graduating project!
Do you have a sample SKP and DWG for testing? I’ve never experienced what you describe.
I am experiencing the same problem. The file once imported into SKP appears as a block and the lines are not editable. I will try exploding all polylines in the .dwg file to see how it reacts.
Otherwise thank you for the step by step, very thorough.
Do you have a sample model you can share?
Hi Thomas,
You have written a good guide, but I have a couple of ideas to add:
– users of “vertical” Autodesk applivcations like AutoCad Architecture will have to use the “export to AutoCad” function to get SketchUp-importable DWG content out of their models
– the importer is not happy with NURBS surfaces and solids and these should be exploded into 3D faces.
Anssi
Newer versions of sketchup (Free) allow you to import DWGs only as images. Proper DWG import is a pro-only feature.
Life-saving guide, by the way!
I can get my dwg file imported into sketchup but I can’t color anything after it is imported. Please advise.
Are you trying to colour the imported edges? If so, make sure you have enabled Color by Material under the Edge section of your current style.
If that didn’t solve the issue I recommend you post your question in the SketchUp forum with screenshots and sample model: http://forums.sketchup.com/
You’ll most likely get an answer within hours there.
This is great advice. Importing vanilla dwg files without the above is a complete disaster.
Great info, Thomas.
Any recommendations for an already created model in sketchup that is 75% built with imported floor plans from autocad that DID NOT follow these steps? (learning the hard way here…) I’m having problems using RoofNUI plugin because of messy auto-cad dwg as a base and don’t want to start over.
I’m afraid I don’t have any good general recommendation. These things depend from file to file. The guide I wrote up here was the summary of the various things I found to work best in most cases. But once you have a file that’s troublesome it isn’t always easy to untangle it. Some times one just have to cut your losses if you can estimate that you will spend more time fixing and starting fresh. Sucks either way. :(
Hi Thomas, Do you any further updated thoughts to improve importing dwgs
i have a question. when i export the skp file to cad all lines are shown even the line behind the wall. is there a problem of my exporting?
@roy: Are you exporting as 3d when you want 2d output?
while importing cad file i can only see one vertical single line. my 2d plan is not visible .
what to do ?
@naitik: I cannot say it sounds familiar. The issue sounds very specific to this file. I would recommend you post this question in the SketchUp forums: http://forums.sketchup.com/. There you can upload screenshots (and even your model files) such that people can look at it and determine what might be causing this.
@naitik where you able to fix the vertical line problem? im having the same situation..needd help!
I am trying to import a VERY simple file that contains a series of rectangles. Yet even after following all of these steps, sketchup is not reading them as a object, so I cannot color, push/pull, etc. Any ideas?
@Kay: You might want to try to post a sample model on the SketchUp forum. It’s easier to come up with an accurate response if once can look at the model.
this is amazing! Thank you so much for teach me this method!
VERY usefull information !
I tried importing a dwg file to skp. Not all objects has been imported. Objects that I created using the ‘LOFT’ command in AutoCAD was not imported. Any idea how to resolve this?
@Erminio: I’m afraid not. I’d recommend contacting SketchUp support and providing them with an example file.
Im trying to find that GitHub extension i used years ago to import a single layer 2d cad file into SketchUp – It performed a majical change to white lines in that it automatically created sketchup layers and coloured them to help to automatically organise the bad CAD management it was brilliant