You receive a DWG file from a surveyor, and you need to get it into Revit. You go through all the usual cleanup steps. You have purged, scaled, done a write-block, audited. You link the DWG into Revit, create the topo – and it looks like rubbish.
If your survey data has some severe gradient, perhaps relating to a steep retaining wall on the site, you may find that Revit does not model it ‘smoothly’. Here is an example
The problem is likely related to Revit’s triangulation method for topo surfaces. You get weird flat surfaces where things should look much smoother and more organic.
Here is a quick workflow that I have used to add some realism to a survey DWG without sacrificing accuracy (note – this method uses AutoCAD Civil3D, you can download a trial):
Open the survey DWG in Civil3D
Create a new Surface (Right click Surface in the Toolspace – Create Surface…)
Add the objects to surface (can be easier to isolate the necessary layers first). To do this, expand the Surface node, then the Definition node, then select the Drawing Objects entry. Right-click and choose Add… You may want to add Contours separately using the Contours node.
Edit Surface Style
Contours – Contour Interval. Change contour interval to something very small – I find 10mm works well
Turn on the Contour layers for the Surface in: Surface Style, Display. Also, set a new Layer to be the ‘layer’ for the Surface Contours (major and minor)
Extract the newly created contour objects (select the TIN Surface and click ‘Extract Objects’). To make my site look better in Revit, I actually had to export the Triangles as well.
Select the extracted Contours / Triangles and save them out to a new DWG file (you can use write-block or the inbuilt Export command in C3D). You will need to take some geometry from the source file (like boundaries) so that you can locate these new contours in your Revit model. Or keep them in the same file with the new layers you made in step 6.
Import this new ‘high resolution’ contour plan into Revit
Use these contours to make your topography (select only the appropriate layers when using Import Instance while creating Revit toposurface).
Lots of contours here – thanks Civil3D
The result? Something with a much more ‘organic’ appearance:
it will take a bit of processing power, both on the Civil3D side and on the Revit side
once you have your high resolution data in Revit, it will mean you are dealing with lots (thousands) of points in the topo – you have to decide if the nicer looking surface is ‘worth it’ to you
Also, using my Quadro FX580, if there were too many points, my computer would basically just hard-crash to a BSOD – save often! I ended up switching to software emulation (turning off Hardware Acceleration in Revit).
You have a scanned image of a Contour Plan, and you want to convert that raster image into useful vector data. How do you go about it?
In the past, I would have used vanilla AutoCAD to trace the contours to polylines, then I might ‘spline’ them, then convert back to polylines (using a LISP tool), set all the elevations properly, and then import to Revit, then Create from Import to make the Topography. Fun!
However, this week I have fallen in love with a new tool. Its called AutoCAD Raster Design. I’ll admit – it’s not perfect. But it is smart, and it makes the process much more bearable. Just follow these steps:
Download the AutoCAD Raster Design trial from here
You need vanilla AutoCAD installed already…
Install AutoCAD Raster Design
Scan your image using scanning software. Save as pretty much any format, such as a JPG.
Open Raster Design.
Click ‘Insert Image…’
Just do Quick Insert to get your image in quickly.
Now use the Histogram tool from the Raster – Image Processing menu. Try and get a lot of ‘contrast’ into your image.
Use the ‘Change Color Depth’ tool from the Raster – Image Processing menu. Reduce to Grayscale and then Bitonal. You really need to get the image into a ‘Bitonal’ form to make use of the vectorization tools.
Use the Despeckle tool from the Raster – Cleanup menu to get rid of little dots…
Now that you have a nice clean Bitonal Image, go to the Raster – Vectorization tools menu and choose ‘Contour Follower’. This tool is pretty self explanatory – just follow the command prompts and experiment with the options on the command line.
You may need to tweak the ‘Options’ under the Raster menu – Options. On the Raster Entity Detection tab, tweak these settings to suit your image. Also under the VTools Follower tab, tweak these settings to suit your Elevation Interval…
Finally, you will want to turn on Raster Snap under the Raster menu. This will snap to the Bitonal image elements quite nicely.
Once you have traced all your contours and set proper elevations, save the DWG. You will be prompted to also save the image…
Now import your DWG into Revit and use it to make your Topography.
Obviously, what Revit wants is for you to use accurate data at all times – so if you can get access to a proper DWG of the Contour Plan, do that! In the meantime, you can use the abovementioned process to get the project under way…