The 2018 versions of the Autodesk programs have been out for a while now. You have a point cloud and you need to create a surface from it. Well, if you have the AEC collection, you have two options, 1) Create the surface in Civil 3D or 2) Create the surface in InfraWorks. Which one should you use?

I was working with a client recently that had this very same dilemma so I decided to do a little testing to see how well each option does creating the surfaces. To give a little bit of background on the data set, the point cloud contains around 90 million points and is an agricultural field with a stream running through the middle of it.

Overall_Point_Cloud

Overall Point Cloud in ReCap

This dataset is kind of unique as it has areas that are very flat and fairly consistent as well as areas that vary quite a bit. Creating a single surface in Civil 3D from 90 million points would take a massive amount of time (if it was even possible) so I decided to test this on a smaller scale. I cut out a couple portions of the point cloud, one in the area of the field and one in the area of the stream.

Let’s get to creating the surfaces. I created the surfaces for both areas using both Civil 3D and InfraWorks. In both programs, I maxed out the settings to get the best possible surfaces.

Creating The Surface in InfraWorks

How is this done in InfraWorks? First, I created a new model and imported the ReCap file. Once the point cloud is in the model, I used the command, “Point Cloud Terrain”. This can be found on the “Build, manage, and analyze your infrastructure model” section (Big Orange “I”), and then the “Create and manage your model” (Q-bert looking button).

Terrain_Command_InfraWorks

Point Cloud Terrain Command

The settings I used for generating the terrain can be seen in the following image. I basically set them to give me the best possible terrain I could get from the data. Once I created the surface, I then imported the surface into Civil 3D.

InfraWorks_Point_Cloud_Terrain_Settings

InfraWorks Point Cloud Terrain Settings

Creating the Surface in Civil 3D

To create a surface in Civil 3D 2018, just like with InfraWorks, you must first import the point cloud. On the Insert tab of the ribbon, you can simply attach the ReCap file. Once the point cloud is in the drawing, select it and, on the contextual ribbon tab, choose the command, “Create Surface from Point Cloud”.

Create_Surface_Command_Location

Command to Create Surface from Point Cloud in Civil 3D

Just like with InfraWorks, I created these surfaces so they would max out the data that was available. In the command, I did not change the settings for the number of points being used or the area to use (I had already cropped out smaller areas from the overall point cloud in ReCap). The only settings I changed that would affect the data was on theĀ  Non-Ground Point Filtering section, where I changed it to use the Kriging interpolation filter method.

Kriging_Interpolation

Filter Method set to Kriging Interpolation

How do they compare?

To compare them, I brought the two surfaces for each area into a drawing and then created a volume surface between them. This allowed me to see what the elevation differences were between the two surfaces. I then did an elevation analysis on the volume surface so I can see where these differences are.

The Field

The first one I did was for the area of the field.

Plain_Comparison

Comparison of Surfaces in the Field

If you look at the numbers, you can see that over 96% of the surfaces are within 0.1′ of each other and over 99.8% are within 0.2′. This is really good! If I zoom in on the area of the contours (they are 1′ contours by the way, you can see a little bit more detail.

Plain_Contours

Field Contours

The blue contours are from the surface created in Civil 3D whereas the red contours are from the surface created in InfraWorks. One final comparison, lets look at the data density of the two surfaces. How many points are in each of these surfaces?

  • Civil 3D Surface – 356,420 points
  • InfraWorks Surface – 9,993 points

To be fair, I could have decreased the number of points as I was creating the Civil 3D surface but, I maxed out the settings in InfraWorks.

The Stream

I repeated the process for the area around the stream.

Stream_Comparison

Comparison of Surfaces at the Stream

As you can see, the numbers aren’t quite as good here. In fact, there are areas that are off by up to 8′. I did a similar comparison based on these numbers and found that almost 97% of the surface was within 2′ and almost 99% was within 4′. This isn’t a fair comparison so I reran the analysis using basically the same numbers as for the field (0.1′ increments) but I lumped everything beyond 0.4′ into the same category. This is what I found:

Stream_Comparison_-_2

Surface Comparison with 0.1′ Increments

Once again, I ran the numbers and found that 83% was within 0.1′ and 89% was within 0.2′. A little concerning was the fact that over 6.7% was more than 0.4′ off.

Let’s go ahead and zoom in on the contours (again, the blue contours are the Civil 3D surface and the red contours are the InfraWorks surface). I displayed it with and without the volume surface because it was difficult to see all the contours at times.

Stream_Contours

Stream Contours

The comparison in size between the two surfaces are:

  • Civil 3D Surface: 773,732 points
  • InfraWorks Surface: 24,474 points

I don’t know how to increase the accuracy of the surface created from InfraWorks any more than it is.

Final Thoughts

Based on the results I’ve received here, which method would I use? Well, if the area is fairly flat and consistent (the field in this example), I would probably go with the InfraWorks surface. If there is a lot of inconsistencies in the data (the stream in this example), I would probably go with the Civil 3D surface.

Remember, you can create an overall surface in InfraWorks, create surfaces in Civil 3D for those areas that it’s needed, and then paste them all together at the end.

What are your thoughts? Have you had much experience with surfaces from point clouds in InfraWorks, Civil 3D, something else all together? Did I get something wrong? Let me know what you think in the comments!

The Autodesk River and Flood Analysis Module 2018 (aka River Analysis) has just recently been released and has some major fixes that will be very welcomed by anyone who uses this program. In the past there were a few bugs that were extremely annoying that no longer exist. Keep reading to learn what they were. If you aren’t moving to 2018, but you’re still using the River Analysis tools, make sure to read this so you know what to be aware of!

Deleted Last Entity Created

When the River Analysis tools are initialized in a drawing, the last object in the drawing that was created was deleted. That’s right, whatever that last object was – a line, a circle, a surface, an alignment – whatever it was, it was deleted. This is no longer an issue in 2018!

If you’re using 2017 or earlier, my recommendation is to draw a line in your file immediately prior to issuing any River Analysis tool so you know which object will be deleted.

New Reaches Automatically Created

Once the River Analysis tools were initialized any drawing used in Civil 3D after that moment would have a new reach created in it. The symbol for the reach would be placed near 0,0 so it destroys the ability to zoom extents. Not only that, since River Analysis is now initialized in this drawing, it deletes the last entity created. 2018 has fixed this problem!

If you are using 2017 or earlier, my recommendation is to run Civil 3D only for the River Analysis task you have. Don’t open any other drawings. Once you are done with the River Analysis task, close Civil 3D and reopen it and you should be good to go. If you initialize River Analysis again, you’ll need to close and reopen Civil 3D again to prevent it from creating reaches and deleting objects.

Reach Drop-down Inconsistent

The drop-down to select the reach you want to work on has been inconsistent at best. Sometimes it works, and sometimes it doesn’t show up at all. I was never able to figure out a decent work around for that one. In 2018, I haven’t seen any issues with the drop-down not behaving the way it should.

Where to get it?

If you haven’t been using River Analysis but want to, you can install it from the Autodesk Desktop Application. If you don’t have access to this, you can also go to manage.autodesk.com, log into your account, and download it (provided you have the permissions to download and install). Otherwise, ask your software manager or IT department for it.

Wrap Up

If you are using the River Analysis tools, you would be doing yourself a favor and doing the work in Civil 3D 2018. Even if the rest of the project is on a prior version, still do your River Analysis work in 2018, export out the HEC-RAS file, and then import it into a prior version if needed.

Creating custom parts for your storm sewer or sanitary sewer networks in Civil 3D is not fun. If you’ve ever had to go into Part Builder, you know what I’m talking about; secret variables, odd objects (what’s a COL object anyways?), and sometimes things just don’t work (haven’t been able to create a cut plane in Part Builder in almost a decade). Most of the time when people need to create a new part for a network in Civil 3D, they end up saying, “Whatever is already there, is probably close enough and I’ll just use that instead of doing it right.”

I have good news for you. In the latest version of InfraWorks (InfraWorks 2018.1) there is a new tool called the Project Infrastructure Parts Editor.

Infrastructure Parts Editor.png

Infrastructure Parts Editor in InfraWorks 2018.1

The Infrastructure Parts Editor has been around for quite a while in the Autodesk Labs (it was known as Project Kameleon, yes, with a K) but has recently graduated from labs and is now a full blown program. This tool will allow you to create new parts for use with InfraWorks as well as Civil 3D.

To access the new tool, within InfraWorks click on the drainage tools, then click the pencil drawing a line, and then click on the button for the “Parts Editor”.

Tool in InfraWorks.png

Where to find the Infrastructure Parts Editor in InfraWorks 2018.1

This will then open up an external application called, you guessed it, the Infrastructure Parts Editor.

Application Image.png

Infrastructure Parts Editor

How easy is this? Basically, it’s just pick and choose the parts you want to use. When you create a new catalog (or edit an existing one), you’ll see three options, Assembly, Structure, and Culvert. The parts that will be used in Civil 3D or InfraWorks are the Assemblies. Each assembly is made up of the structures or the culverts.
Assembly_Culvert_Structure.png

When you click on Structure, you’ll see the three different components that make up the structures: Surface Structure, Underground Structure, and Grates or Covers. The Infrastructure Parts Editor has some parts already created that you can start with or you can create your own using Inventor or Inventor LT.

Various_Parts_Sample.png

Sample of Surface Structures

As you can see in the previous image, if none of the predefined shapes work for you, you can create a new shape template and import a .ipt or a .iam file from Inventor.

Additionally, when adding sizes to the different structures, there is an option to export to and import from Microsoft Excel. This should make editing the sizes much easier!

Export_to_Excel.png

Export to Excel

Once all the structures have been created, they will then be combined to make the different assemblies. When creating an assembly (depending on the type of assembly being made), you’ll simply select the three different structure components that you want to combine together. There’s also a section to validate the sizes (don’t want to put a 5′ long grate on a 3′ long inlet).

Assembly_Creation.png

Assembly Creation – Drag and Drop

Once all your assemblies are made, you can then publish the catalog out to either InfraWorks or Civil 3D or both at the same time.

Publish_Catalog.png

Publish Catalog

So, what do you think? Are you going to give this a try? Personally, I’m really excited about this tool and it capabilities for creating custom parts in Civil 3D.

 

p.s. It also does pressure network parts:
Pressure_Network_Parts.png

AU2016 has come and gone and I’m really excited about point clouds right now. I sat in a lab with Ramesh from Autodesk (using point clouds in InfraWorks) and he gave me the data set he was using as a sample. In the class, he imported the data set into ReCap, trimmed out the unneeded bits, and then brought that into InfraWorks which worked just fine.

Point Cloud Comparison.png

Same Clipped Point Cloud in InfraWorks and Civil 3D

The problem is, if you bring that same clipped point cloud into AutoCAD Civil 3D (or any other AutoCAD based program), the point cloud is not clipped. According to the Autodesk Knowledge Network, this is a known problem and they are working on fixing it however, the only solution currently listed there is, “For InfraWorks the point cloud functionality has been corrected with release 2016”. That’s not much of a solution if you ask me but, I did happen to discover one.

after clipping the point cloud in ReCap, export the project out. This will create a new point cloud that can then be inserted just fine. To export the point cloud, mouse over the House icon, the Down Arrow icon, and then click the Up Arrow icon.

Export.png

Export the Clipped Project

ReCap will then ask you if you want to unify the scans. I’m not exactly sure what this does but I think it combines all the scan files into one file. When I did this, I simply used the default settings and clicked the “space ship” icon.

Unified.png

Huh? A space ship? Really?

Once the project has been exported, simply import that into Civil 3D (or any other AutoCAD based program) and the point cloud will be clipped.

Exported_vs._Original.png

Comparison between original file and exported file in Civil 3D

Hopefully this will help someone out that’s struggling with point clouds in AutoCAD. If you have time, I would love to hear how you are using point clouds in either InfraWorks or Civil 3D. Leave a comment and let us all know!

Have you ever had two surfaces that you needed to combine together but the problem is, at the boundary of the inner surface, its elevations don’t match the elevations of the outer surface. In cases like this, if you paste them together you can get some really odd things going on where they are supposed to meet.

An example of this might be that you have one surface that was created from USGS data and another surface that was surveyed. They should be close to the same elevations but they won’t be exact. I often have people ask me if there’s a way to combine them but use a buffer between. Using a buffer you won’t get those almost vertical triangles or triangles that go out for quite a while until they connect into the other surface.

basics_of_the_issue

Pasting Surfaces Issue

In the above image, I have two surfaces, one with green triangles and a yellow border and one with grey contours. I need to paste them together to create a combined surface. Any surface points that are under the border of the inner surface when it’s pasted in will be removed and that white, thick line represents the triangles from the outer surface that are unchanged. As you can see, there are some odd things going on.

Since there’s no way to add a buffer when pasting surfaces, what do you do? Well, here’s how you do it in five simple steps:

  1. Extract the border of the inner surface.
  2. Offset this extracted border the buffer distance.
  3. Assign the elevations from the outer surface to this new object.
  4. Create a surface from this offset.
  5. Paste all three surfaces together.

1. Extract the border of the inner surface.

You probably already know how to do this but, in case you don’t, it’s pretty simple. Just follow these steps:

  • Make sure the surface you want to extract the border from is using a style that actually displays the border (you can’t extract something if the surface isn’t dislaying it).
  • Select the surface and on the ribbon expand out “Extract from Surface” and choose “Extract Objects”.

    Extract_Border.png

    Extract Objects

  • Select “Border” from the options in the next dialog box (deselect anything else you don’t want to extract from your surface) and click OK.

    Extract_Border_2.png

    Select the Border to Extract

You now have a 3D polyline in your drawing where the border of the surface is.

2. Offset this extracted border the buffer distance

Again, pretty simple but I’ll explain the steps here. On the Modify tab of the ribbon, on Edit Geometry panel, there’s a command called, “Stepped Offset”.

Stepped_Offset.png

Stepped Offset

Follow the command line prompts and offset it the distance you need. When it comes to setting the elevation, it really doesn’t matter what you choose as we’ll set the elevation of this new polyline in the next step. The AutoCAD Offset command most likely will not work as this is likely to be a 3D Polyline and the Offset command only works on 2D objects.

Offset_Polyline.png

Offset Polyline

 

3. Assign the elevations from the outer surface to this new object

This new polyline needs the elevations of the outer surface. Still on the Modify tab of the Ribbon, on the Edit Elevations panel, there is a command called, “Elevations from Surface”.

Elevations_from_Surface.png

Elevations from Surface

Run this command and select the polyline. Next you’ll see a new dialog box asking you which surface to use. Select the outer surface (in this example it’s called “Pre-EG”) and make sure you toggle ON the option for, “Insert intermediate grade break points”.

Elevations_from_Surface_Options.png

Elevations from Surface Options

Your new 3D polyline now follows the outer surface exactly and we’re ready for the next step.

4. Create a surface from this object.

Again, pretty simple but here are the steps.

  1. On the Home tab of the ribbon, on the Create Ground Data panel, expand out Surfaces, and select the first option, “Create Surface”.
  2. Name it appropriately (I would call it something like “<inner surface name> Pasting Buffer”. Set any other settings you want (the style really doesn’t matter – I would probably choose something like, “No Display” if it’s an option).
  3. On the prospector, expand out the new surface, expand out the definition, right click on Breaklines and chose, “Add”. Select the offset 3d polyline and apply the breakline settings as desired.

And that’s it. You’re done.

5. Paste all three surfaces together.

Now, that you have done all that, we are ready to paste them all together. You can past them into the original outside surface but I’m not a fan of that. I would much rather have the outside surface remain intact in case I need to use it for something else. I typically will create a new surface (see step four for the steps to create a new surface).

On the Prospector tab, expand out the new surface, expand out definitions, and choose “Paste”. Select the surfaces you want to paste in. The order you paste them in is very important as whatever is within the border of the incoming surface will completely overwrite everything inside it. The order we will use here is 1) Outside surface 2) Buffer surface 3) Inner surface.

Pasting_Order.png

Paste Order

The following sequence of images show the progression of the new surface as the other three surfaces are pasted in. I left in the thick white line from earlier as a reference.

Outer_Surface_Pated.png

Outer Surface Pasted In

Buffer_Surface_Pasted.png

Buffer Surface Pasted In

Inner_Surface_Pasted.png

Inner Surface Pasted In

As you can see, that buffer works very nicely. You can compare this to a surface that only has the outer and inner surfaces pasted in.

Compare_with_no_buffer_surface.png

Same surface without the buffer surface

What do you think? Is this something you might use? Leave a comment if you do this a different way. I always love to hear about different ways of accomplishing things!

The data set I used is from the training manual “A Practical Guide to Civil 3D 2017” by Rick Elis. You can order a copy from his company CADapultĀ if you would like one. This is the book I use in my classes.

If you’ve downloaded the Civil 3D 2017 v1 EnhancementsĀ and tried using the Swap Pressure Network Parts command, you might have seen some odd things happening…

Error.jpg

Shifting Parts When Swapping Parts (picture from Autodesk)

Autodesk has released a hotfix for this. It’s a simple fix, just download a file and swap out the one on your system with the new file. The hotfix can be found HERE.

One of the things I’ve struggled with in the past is some of the reports don’t work well with Internet Explorer 10. I wrote up a blog post on how to adjust the settings within Internet Explorer to emulate IE9 but it’s not fun to do. A reader of my blog mentioned an add-on for Google Chrome that allows it to emulate Internet Explorer, it’s called IE Tab.

IE_Tab

This is really simple, set Chrome as your default browser, run the report, click on the button on the toolbar, allow the content, and you’re golden!

IE Tab.gif

If you are using Pressure Networks within Civil 3D, do yourself a favor and install the new service pack for Civil 3D 2016 (SP3) and Civil 3D 2017 (SP1.1). TheseĀ fix several pressure networks issues which I’ll talk about here.

A little bit of background, a few weeks ago (not sure of the exact date) the Civil 3D product team released service pack 1 (SP1) for Civil 3D 2017. There were some issues with it so they pulled it down and then just last week they re-released it as service pack 1.1 (SP1.1). As of this writing, it’s not available on the Civil 3D support website HERE but I was able to download it via the Autodesk Desktop App. It should show up eventually. The Civil 3D 2016 SP3 is available at that link.

Autodesk_Desktop_App

Service Pack in the Autodesk Desktop App

So what are the issues that are fixed and why are they important? You can read up on the changes included in the service packs here: 2016 SP3 and 2017 SP1.1.Ā The two issues I’ll be referring to in this post are:

  1. An issue that caused unexpected behavior when using grips to edit pressure network pipes in profile view has been resolved.
  2. An issue has been resolved where edits to the level of a pressure network were not retained when the pressure network was data-referenced

Reference Issue

Let’s talk about number 2 first as, in my opinion, that’s the big one. When you create a pressure network and edit the elevations of the pipe by either putting in a vertical curve or have it follow the surface, when you data reference that pipe into another drawing, the pipe comes in straight.

Reference Issue

Reference Issue

As you can see in the previous image, on the left is the source drawing containing two pressure pipes. One of the pipes has been vertically curved and the other has been set to follow the surface. When referenced into another drawing, they come in straight as can be seen on the right.

After installing the service pack, simply open the same drawings and synchronize the references. You’ll see that the referenced pipes are the same as the source pipes.

Reference Resolved

Reference Issue Resolved

Grip Issue

The second itemĀ I will be discussing here is the issue with grip editing. This isn’t always an issue but can be in certain cases. First off, what is the issue? Well, if you set a pressure pipe to follow a surface and then use grips to edit the elevations of the different parts, sometimes the grip will be applied to the adjacent grip instead of the selected grip.

Grip Edit Issue

Grip Edit Issue

After installing the service packs, this is no longer an issue.

Grips Resolved

Grips Working Correctly

So, what causes this issue in the first place? This only seems to be an issue if the alignment and the pressure pipe are going in opposite directions. When you create the alignment from pressure network, make sure the pipes and the alignments are going the same way. Even with the latest service packs, if they are going opposite directions, you’ll still see a small issue, the last grip on the pressure pipe won’t display.

Missing_Grip

Missing Grip

As far as I know, there’s no way to edit that grip in this view, you’ll need to create a different alignment going the opposite direction to be able to edit it. In other words, it’s still a good idea to have your pressure pipes still go the same direction as the alignment but it’s not quite as important.

AutoCAD 2016 saw the introduction of the Geometric Center object snap. If you aren’t familiar with this snap, it basically will snap to the “geometric center” of an object, such as a polyline. What’s the geometric center? Well, it’s the centroid or center of mass. The problem is, this snap is not available in the Snap Override menu within Civil 3D 2016 or 2017.

<note>It was pointed out to me that this doesn’t work in 2016. The shortcut menu in the ACAD.CUI that is installed with Civil 3D 2016 is incomplete as well. If you are using 2016, you’ll need to copy the menu from the ACAD.CUI that gets installed with AutoCAD, not the one installed with Civil 3D. Open the ACAD.CUI in the transfers tab and copy it over that way. </note>

AutoCAD vs. Civil 3D.png

AutoCAD vs. Civil 3D

You’ll also notice that in AutoCAD, you get the icons showing what the different snaps do whereas in Civil 3D, you don’t. If you want to enable this, you’ll need to replace the Civil 3D Snap Override menu with the AutoCAD version. To do this, go into your CUI editor (type CUI at the command line if you haven’t been there before).

Copy_Menu.png

Copy AutoCAD Menu

In the CUI, scroll towards the bottom (I hid the Command List to make it easier to see), expand out Partial Customization Files, ACAD, and Shortcut Menus. Under the Shortcut Menus, right click on “Object Snap Cursor Menu” and choose “Copy”. Now that the AutoCAD version is copied, we’ll go replace the Civil 3D version with the AutoCAD version. Collapse up the Partial Customization Files and expand out Shortcut Menus (directly under CIVIL), right click on Object Snap Cursor Menu and choose Delete.

Paste_Here.png

Replace the Civil 3D menu with the AutoCAD menu

Once the old menu has been deleted, right click on the Shortcut Menus and choose Paste. This will paste the AutoCAD version of the menu that we copied into the Civil CUI file. Now, simply close the CUI editor and return to Civil 3D and be happy with your new snap overrides menu.

Snap_Menu_in_Civil_3D.png

Civil 3D with the new snap menu

 

<note: In Civil 3D 2018.1, there are some new system variables that deal with these glyphs so go install it now! Just start typing “labelover…” and the autocomplete will finish it off for you>

So, you’ve downloaded Civil 3D 2017 Service Pack 1 to fix those pesky issues. Which issues? TheseĀ issues. Great, so you close out of Civil 3D, install the service pack, and the next time you’re in your drawing, you notice a whole bunch of warning symbols!

Glyphs

Glyphs Glyphs Everywhere!

What are these things? Well, they are a new feature that was added to Civil 3D 2017 in Service Pack 1. They let you know when a label has a text override. If you hold your mouse over the glyph, it will tell you what it’s there for.

Overriden_Text_Component.png

Tooltip when hovering over glyph

Just like the other warning symbols in Civil 3D, when the drawing is regened (run the REGEN command), the glyphs will always go back to a certain percentage of the screen size (I’m not exactly sure what that is and I don’t have a ruler handy to do the calculations).

I can see these symbols pretty much taking over a drawing so, how do you turn them off? Well, there are two ways:
1) Don’t override the text in your labels. I didn’t say they were both GOOD ways.
2) Turn off all the symbols like this in your drawing. I didn’t say either way were GOOD ways!

Yup, if you want them turned off, you have to disable the display of ALL of these warning symbols (Pressure Network Design Checks, Alignment Tangency Checks, Alignment Design Criteria Violations, Profile Horizontal Changes, etc.). To do this go into your AutoCAD OPTIONS and on the AEC Editor tab you’ll see a section called “Solution Tips” (these symbols are called “Solutions Tips” apparently). The two radio buttons allow you to control if you see the tips when drafting (i.e. in your drawing) and when your plot.

Solutions_Tips.png

Solutions Tips

I suppose the other option is to simply not install Service Pack 1. If you aren’t having any of the issues it says it fixes, and you don’t want these obnoxious symbols all over your drawing, I don’t see any super compelling reason to install it.

What do you think? Do you like the symbols? Do you hate them? Personally, I’ll give them a try. I always recommend to people that when Autodesk does something new to the software, give it a month. If after a month you don’t like it, then go back to the way it was. Now, if I could only figure out how to go back without uninstalling the service pack…