Category Archives: Civil 3D

Draping images over surfaces in Civil 3D

Having recently overcome various difficulties to successfully drape an image over a surface in Civil 3D, it may be useful to pass on a few points I have learned. There are various posts and videos out there that helpfully go through this process, but some of them (including Autodesk sources) contain information that is irrelevant or just plain wrong, and none of them contained all  of the information I needed to complete the task.

I used Civil 3D 2015 for this, but the principles apply to all recent releases. Here is the basic sequence required:

  1. In the drawing containing the surface, attach the image to your drawing using your preferred method (ImageAttach, Xref, ClassicImage). I’ll assume you’re familiar with what you need to do to get the image correctly scaled and aligned with the surface.
  2. Invoke the DrapeImage command, which will show you this dialog:DrapeImage01
    Make sure this is set for the image you want to drape and the surface you want it draped over. You can change the Render Material Name to whatever you like, or leave it as the default. Pick OK.
  3. You no longer need the image attached to the drawing and it will probably only confuse matters, so you can use use the Xref or ClassicImage command to detach it.

If you’re really lucky, that’s it. You will have a lovely-looking surface with a draped image over it. However, at this stage that’s pretty unlikely. Don’t panic! You also need to ensure the following conditions are in place:

  1. The surface will need to use a surface style that includes triangulated surfaces so the image has something to drape over. In the Toolspace, under Surfaces, right-click on the surface and pick Surface Properties…, then change Surface Style to anything with triangles, triangulation or TIN in the name (this varies depending on the template used). If you don’t have such a style available, you’ll need to make your own or edit an existing one using the button with a pencil in it.DrapeImage02
  2. While you’re in the Surface Properties dialog, have a look at Render Material. That should be showing the Render Material Name you specified in step 2 above. If it isn’t, make sure it is. Pick OK.
    Bonus tip: if you later need to remove the draped image from the surface, you can do so by changing the Render Material to something else (e.g. ByLayer).
  3. Still seeing nothing useful? Make sure you are using the Realistic visual style. You can get at the Visual Styles Manager using the VisualStyles command, but in recent releases it has been made easier to switch visual styles using the in-canvas control:DrapeImage03
  4. Still nothing? Try turning off Hardware Acceleration. Right-click on that glowing blue blob thing in the lower right corner and pick Graphics Performance…DrapeImage04That will give you a dialog with a Hardware Acceleration switch. Turn it off, pick OK and (hopefully) voila!

Note that the above conditions need to be in place when plotting, too. You might not expect hardware acceleration to make a difference to plotting, but in this case, it does.

How to break Civil 3D 2013

In Civil 3D 2013 (with or without hotfix 2.1), use the PLOT command and use the Window option. While being prompted for the window corners, use the middle button mouse wheel to zoom to locate the exact point you want. Civil 3D then enters a loop in which it displays:

Document “drawing name” has a command in progress.
Hit enter to cancel or [Retry]:

At this point, the user can do nothing with the program. Hitting Enter, Esc, R, etc. or doing more all do nothing except cause the message to be redisplayed. Picking a point or further wheel zooming does nothing useful. Using the application’s red X, or attempting to use the Taskbar to close it are equally ineffectual. The user has no alternative but to terminate Civil 3D using Task Manager, losing all unsaved work in all drawings.

This happens for me in Windows 7 64-bit. It does not occur using AutoCAD 2013 on the same system. Does it happen for you?

When is AutoCAD not AutoCAD?

When is AutoCAD nor AutoCAD? When it’s AutoCAD WS. But it’s not quite that simple.

I’ve been correcting people for months when they say things like “Project Butterfly is AutoCAD on the Cloud.” No, it’s not. It’s a DWG editor of sorts, but anybody who has used both will know that it’s not AutoCAD or anything like it. Although it’s useful for viewing and markup and is improving all the time, Project Butterfly is still very restricted and is likely to remain so for a long time. You wouldn’t want to spend a significant portion of your day drawing with it.

OK, so Project Butterfly isn’t AutoCAD. I’m glad we’ve cleared that up. But wait! Now it is AutoCAD! AutoCAD WS, that is. AutoCAD WS is the recently-announced free iPod/iPhone/iPad app to access Project Butterfly. But it’s not really AutoCAD either, despite being named thus. Confused yet?

AutoCAD is Autodesk’s strongest brand name, but it has been diluted a great deal in recent times. Let’s have a look at things that are called AutoCAD or somehow based on AutoCAD, and try to make some sense of it all. Here they are, in alphabetical order:

  • AutoCAD – the real thing
  • AutoCAD Architecture – AutoCAD-based vertical
  • AutoCAD Civil – AutoCAD-based vertical
  • AutoCAD Civil 3D – AutoCAD-based vertical
  • AutoCAD Electrical – AutoCAD-based vertical
  • AutoCAD for Mac – AutoCAD with a few bits missing
  • AutoCAD Freestyle – a cheap and simple DWG editor, not much like real AutoCAD
  • AutoCAD Inventor Suite – this is basically Autodesk Inventor, which is neither AutoCAD nor based on AutoCAD. But a real AutoCAD and AutoCAD Mechanical also comes in the box.
  • AutoCAD LT – AutoCAD with some features disabled to make it fit into a lower price bracket
  • AutoCAD Map 3D – AutoCAD-based vertical
  • AutoCAD Mechanical – AutoCAD-based vertical
  • AutoCAD MEP – AutoCAD-based vertical
  • AutoCAD OEM – development platform for using AutoCAD subsets as a basis for 3rd-party applications
  • AutoCAD P&ID – AutoCAD-based vertical
  • AutoCAD Plant 3D – AutoCAD-based vertical
  • AutoCAD Raster Design – not AutoCAD, but adds features to AutoCAD and various AutoCAD-based verticals
  • AutoCAD Revit Architecture Suite – Autodesk Revit Architecture, which is neither AutoCAD nor based on AutoCAD. But AutoCAD and AutoCAD Architecture come in the box.
  • AutoCAD Revit Structure Suite – Autodesk Revit Structure, which is neither AutoCAD nor based on AutoCAD. But AutoCAD Structural Detailing comes in the box.
  • AutoCAD Revit MEP Suite – Autodesk Revit MEP, which is neither AutoCAD nor based on AutoCAD. But AutoCAD and AutoCAD MEP come in the box.
  • AutoCAD Structural Detailing – AutoCAD-based vertical
  • AutoCAD WS – not AutoCAD, but an iPod/iPhone/iPad app to access Project Butterfly
  • Autodesk Design Review – not AutoCAD, but a DWF viewer & markup tool, works with DWG TrueView to allow DWG markup
  • DWG TrueView – a very heavily cut-down AutoCAD to provide a free DWG viewer and release converter (includes DWG TrueConvert)
  • Project Butterfly – not AutoCAD, but rather a cloud/browser-based DWG viewer/editor

That’s a lot of products, but I haven’t even included all the various new suites that include AutoCAD. I’m not sure this plethora is such a great thing, leading as it does to customer confusion and brand dilution. When “AutoCAD” can mean almost anything, does it still really mean something?

Missing language pack fixes compared

Having tried out the cleanup fixes from both Autodesk and Owen Wengerd, they both appear to work fine. Here are some points of comparison:

  • Owen’s utility will work with any AutoCAD variant from 2007 on; Autodesk’s fix is currently restricted to Civil 3D 2009, 2010 and 2011. As this problem is definitely not confined to Civil 3D, and may need to be dealt with by non-Civil 3D users, that could be the dealbreaker right there.
  • Owen’s can be installed by anyone by simply copying a file and loading it when needed or in the Startup Suite; Autodesk’s requires admin rights to either run an installer program or manual replacement of a program component, depending on the release.
  • Owen’s loads and runs as the user requires; Autodesk’s runs automatically when opening and saving a drawing.
  • Owen’s provides some information about what is getting cleaned up; Autodesk’s operates in total silence.
  • Owen’s utility can take a while to scan through everything in a complex drawing; Autodesk’s appears to take no longer to open the drawing than normal. To give you some idea of the times involved, in one test in Civil 3D 2011, opening a blank ( but 2.2 MB!) drawing based on the Civil 3D template took 3.6 s with or without the fix; Owen’s cleanup took 0.7 s. In another test on an oldish PC with AutoCAD 2010, cleaning up a drawing with 2.8 MB of real content took Owen’s utility about 15 seconds.

For my purposes, Owen’s utility is what I need, because the users who need to clean up these drawings use AutoCAD, not Civil 3D. I’ve set up a batch process for these users, which opens each selected drawing, runs Owen’s utility and saves the drawing. However, I suggest Civil 3D users install the relevant updates and patches anyway, as they fix more than just this problem. In addition, in Civil 3D 2011 without the Autodesk fix, one of the problems fixed by Owen’s cleanup (a AeccDbNetworkCatalogDef one) is then immediately recreated by Civil 3D.

The upshot is that Civil 3D users should at least apply Autodesk’s fixes; everybody else should use Owen’s.

Using Owen’s fix, it is interesting to see what it reports as being the problem in particular drawings. Here’s what one of my non-Civil 3D problem drawings shows up:

Command: cleanlanguage
Scanning drawing for corrupt objects...
Corrupt object AecDbScheduleDataFormat<2F84> CLEANED
Found 1 corrupt object

Here’s what the Civil 3D 2011 ANZ template shows up when cleaned:

Command: cleanlanguage
Scanning drawing for corrupt objects...
Corrupt object AeccDbNetworkCatalogDef<8B7> ERASED
Corrupt object AeccDbLegendScheduleTableStyle<1619> CLEANED
Corrupt object AeccDbLegendScheduleTableStyle<161B> CLEANED
Corrupt object AeccDbLegendScheduleTableStyle<161A> CLEANED
Corrupt object AeccDbLegendScheduleTableStyle<161F> CLEANED
Found 5 corrupt objects

It looks like every Civil 3D 2011 drawing based on these templates has been going out corrupt in 5 different places. Hopefully, Autodesk will quickly get on to fixing up the Civil 3D template situation, and will incorporate the automated open/save cleanup in future updates to AutoCAD itself and all the other AutoCAD-based verticals.