Sunday, August 14, 2011

Taming a Feature Line Gone Bad

Feature lines in Civil 3D are incredibly versatile. You can use them for many purposes other than grading. Unfortunately, sometimes their complexity can cause problems.

What happens if one of your feature lines doesn't seem to be responding as expected? For example, what if I added an elevation point to a feature line that was part of a surface and even rebuilding the surface didn't show the elevation change. There could be several reasons for this including the possibility of the feature line being corrupt or maybe you deleted that point from the surface definition.

Whatever the issue may be, if you have a problem with a feature line, especially in conjunction with surfaces, give this a try:
  1. First of all save the drawing.
  2. Escape a few times then select the problem feature line.
  3. List the feature line. Make note of which site (typically Site 1) contains this feature line because you'll need it for future reference.
  4. Right click and select "Copy to Site..." or left click on Modify on the Feature Line Ribbon tab and select "Copy to Site..."
  5. Select the "Temp" site then OK.
    If you haven't created the "Temp" site yet, select the drop down arrow on the Site icon then select "Create New" from the list. Name the new site Temp then OK. It should look something like this:


  6. Left click on the feature line you just copied and run the "list" command. Notice that the feature line you selected (the one on top of all others) is in the "Temp" site.


  7. Select the same feature line, right click, and select Display Order, Send to Back.


  8. Select the feature line that is now on top of the other objects and list it. It should be the original feature line in the original site (Site 1).
  9. Escape three times then select the feature line again and delete it from the drawing.
  10. Now select the feature line copy that is in the "Temp" site. If there are objects on top of the feature line, send them to back also.
  11. After selecting the "new" feature line, right click and select "Move to Site" or left click on Modify on the Feature Line Ribbon tab and select "Move to Site..."
  12. Select the site that contained the original feature line (Site 1).
  13. If the original feature line was part of a surface, select the feature line, right click and select "Add to Surface as Breakline" or left click on "Add to Surface as Breakline" on the Feature Line Ribbon tab.
You now have a nice, clean duplicate of the original feature line.

Thursday, August 4, 2011

Add Spice To Your Right Click Menu Options

Well, technically I'm going to show you how to add Isolate/Unisolate Layers to your right click menu, but spice sounded better for the title...

  1. Execute the CUI command.
  2. Scroll down to the Shortcut Menus option and left click on the +.
  3. Look through the expanded list and left click on the + by Context menu for edit mode.
  4. Right click on Context menu for edit mode and select New Sub-menu.
  5. Rename the menu item Menu1 to Isolate Layers.
  6. Drag the Isolate Layers sub-menu to the location just above the Isolate Objects sub-menu.
  7. In the Search box under the Command List section, enter layer iso.
  8. Drag the Layer Isolate command onto the Isolate Layers sub-menu that you previously created.
  9. Repeat steps 7 & 8 for Layer Unisolate.
  10. You can change the order of the commands under the sub-menu if necessary.
  11. You can change the display name of the command in the sub-menu if necessary.
  12. OK to get out of the CUI editor and you're done.
In case you're still in doubt about making edits to the CUI, here's a quick video of the whole process. It takes just over a minute to complete the steps in the video.