Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

Monday, December 3, 2018

Convert Survey Figures to Polylines

Sometimes survey figures are exactly what you want and other times you just want a polyline at elevation zero. If your like me, you created a figure style that flattens all elevations to zero then you exploded it. If that figure had an arcs, they became segmented like this:
I'm happy to report that there is a workflow to create these polylines with arcs from figures. I have confirmed that this workflow will work for versions 2016 through 2019. Note that the polylines will not update if the survey figure changes and is updated in the drawing.

Create a 2D figure style in your template

  1. In your template, expand the Toolspace > Settings tab > Survey > Figures category.
  2. Right click on Figure Styles and choose New.


  3. In the Figure Style dialog > Information tab, set the figure style name to 2D.


  4. In the Figure Style dialog > 3D Geometry tab, set the Figure display mode to Flatten figure to elevation and confirm that the Flatten figure to elevation is set to 0.00.


  5. In the Figure Style dialog > Display tab, change the layer, color, linetype, and so on to meet your CAD standards then click OK.
  6. Right click on the Toolspace > Settings tab > Survey category and choose Edit Feature Settings.


  7. In the Edit Feature Settings - Survey dialog, expand the Default Styles category and set the Default Figure Style to the 2D figure style you just created then click OK.


  8. Save and close the template.

Export Survey Figures to Polylines at Elevation Zero

  1. Begin a drawing with the template that contains the 2D figure style.
  2. Open a survey database and import figures to the drawing. The default style should be the 2D figure style.
  3. Set the UCS to World then save the drawing.
  4. In the application menu, select Export > Export Civil 3D Drawing.


      NOTE: Exploding figures using the 2D figure style will create polylines with segmented curves. That's why you'll need to use the Export Civil 3D Drawing command to get polylines with arcs.

  5. In the Export Autodesk Civil 3D Drawing dialog, choose the folder for the exported drawing then click Export.


  6. When the export is complete, click OK in the Export Status Dialog then Cancel in the Autodesk Civil 3D Drawing dialog.


  7. Open the exported drawing and confirm that the figures were exported to polylines at elevation zero.
  8. Select all the polylines representing exported figures and copy to the clipboard with a basepoint using SHIFT+CTRL+C and entering 0,0 as the base point.
  9. If you are replacing the figures in the original drawing, you can now delete them.
  10. In the original drawing, confirm that the UCS is set to World then use CTRL+V and enter 0,0 as the insertion point to paste the polylines into the correct location.
  11. Save the drawing.
An alternate workflow might be to have a separate template for importing just figures into a temp drawing so that you can export them and they will be on the correct layer. For this you'll need separate figure styles for each type of figure/layer combination you need. Then you can choose to import figures into the original base drawing onto the feature line or equivalent layer and have them displayed as a 3d object instead of a 2D object.

Tuesday, March 29, 2016

Updated Version of Screencast is Available

There is an updated version of the Autodesk Screencast. It was posted on March 29, 2016. You can download either the Windows or Mac version here.

https://knowledge.autodesk.com/search-result/caas/simplecontent/content/download-autodesk-screencast.html


If you have not yet tried the Autodesk Screencast recording software, you should download your free copy today. Autodesk Screencast records basic audio and video in almost any application as well as keystrokes and mouse clicks used during recordings in Autodesk products such as AutoCAD.


The Autodesk Screencast software also allows you to make some edits to the timeline such as removing a selected portion of the recording.



Once you've recorded and made adjustments to the timeline, you can post the recording on the Autodesk Knowledge Network.



The recordings you upload can be marked as private, public, or unlisted.



Read more about Autodesk Screencast here then search for other useful tips posted there as well. You can even subscribe to a user's Screencast account to get notified each time a new video or AKN is posted by that user.

Monday, March 28, 2016

Point to Point Inverse in Civil 3D

I find that map commands in Civil 3D can be very useful for both land surveyors and civil engineering technical staff. The problem seems to be that many users don't know about these very useful commands.

Here's a question than I'm often asked by land surveyors:
Is there a point to point inverse in Civil 3D?

The answer to this question is YES!
CGSLIST + the 'PN transparent command.

CGSLIST

CGSLIST is located on the Analyze ribbon tab in the Inquiry panel.


BEFORE YOU BEGIN

The help information for this command doesn't mention vertical difference, but that information is included in the output for this command.


This command uses the settings for Angle, Distance, and Direction that are stored in the Ambient Settings of the current drawing. If you want the course (bearing) to be in N90°00'00"E format, open the Drawing Settings dialog, choose the Ambient Settings tab, change the Direction > Format setting to DD°MM'SS" and press OK. You can also change the precision for coordinates, distances, and more.


You should also expand the command line so that you can see at least five lines of the command line history.


My example begins with a drawing that contains two points that are exactly 10 feet apart horizontally and 5 feet apart vertically. This allows me to confirm the horizontal and vertical results of the command.

Using the CGSLIST Command

  1. After selecting the Analyze ribbon tab, locate the Inquiry panel and click on the List Slope (CGSLIST) icon.


  2. When prompted, type P and press enter to use the Points selection option. Selecting the Points option here only notifies the command that you want to select coordinate points, not Civil 3D cogo points, for the input data type. 
  3.  

    NOTE: The command line shows that _AeccCgSList is the command running. You can also access this command by typing CGSLIST at the command line and pressing enter. If you are using Map 3D, use MAPCGSLIST. All three commands work in Civil 3D version 2015 or later. 

  4. When prompted to select a starting point, type 'PN and press enter. This will tell the command that you will be entering Civil 3D cogo point numbers instead of selecting coordinate points by clicking on the screen.



  5. When prompted to enter a point number, enter the starting cogo point number then press enter.


  6. The coordinates of the cogo point will appear in the command line history. Now enter the next cogo point number for the ending point then press enter.


  7. This command reports horizontal distance and elevation difference. It also reports the point elevations along with the grade and slope between the points. Notice that the distance shown is a horizontal distance, not a slope distance which is the result reported when using the DISTANCE or MEASUREGEOM command.

Now...
Don't be fooled!

Even though the command shows that the 'PN transparent command is still running, the CGSLIST command has reverted to the original Select object or [Points] prompt. At this point you'll need to press ESC to exit the 'PN transparent command, type P then enter to return to the Points selection, and finally type 'PN and press enter to return to the 'PN transparent command.

If you want a command that repeats with the 'PN transparent command, record a macro. If you're interested in a follow-up blog describing how to create and use that macro, please let me know in the comments section of this posting.

Monday, December 8, 2014

Resize Me!

Sometimes you learn things that you don't realize others haven't seen yet. During the CV6726-P - Attack of the Roundabouts: Conquer Them with Vehicle Tracking class taught by Brian Levendowski, Infrastructure Industry Manager, CAD Technology Center, Inc., I found this to be the case with resizing of viewports in the Model tab. When Brian did this during his presentation, the previously silent classroom was filled with Oohs and Aahs and the sound of pencils/pens and paper immediately followed. Since so many in that class had not seen this feature I decided to share it with you.

Here is the step by step description.
  1. Open any drawing with version AutoCAD 2015 or later, then set the View ribbon tab current. This also works in verticals such as Civil 3D.
    Select the View Ribbon Tab
  2. Locate the Model Viewports panel and left click on the words Viewport Configuration to activate the drop down selection list.
    Accessing the Viewport Configuration drop down selection list.
  3. From the drop down selection list, left click on Two: Vertical (or any other option except Single) to view multiple viewports on the Model tab of your current drawing.
    Select a viewport configuration with multiple viewports.
  4. With the multiple viewports visible, you can now hover your cursor over any of the adjoining lines between viewports, left click, hold, and drag to the desired location. When you get the line moved to the desired location, release the left mouse button.
Here's a video that shows these steps in action.


You can also add viewports by using the + as the beginning point of the left click, hold, and drag location. By dragging an existing viewport near another viewport boundary you can delete an existing viewport. To see this in greater detail, I refer you to Greg Battin's AutoCAD Tips blog post titled AutoCAD 2015 Resize Model Space Viewports.

Thursday, December 20, 2012

Which Way is North?

 Okay I admit it, the allure of one day being invited into the "Autodesk Expert Elite Program" has me checking the Autodesk Civil 3D Discussion Forums and blogging again. Since I'm only at the designated level of "Active Contributor", I have some work to do. Thanks, Autodesk!

The idea behind this post came from a question on the Autodesk Civil 3D Discussion Forums here. The issue is with a Civil 3D 2013 Dynamic North Arrow that is associated with a viewport with the UCS set to World, the dview twist angle set to "0", and the viewport set to plan. For some reason the north arrow was off by over 4.6 degrees. Bruce, a designated Autodesk "Expert Elite" himself, was kind enough to post a sample drawing to show the issue and here's what was discovered.:

Dynamic north arrows are associated with the 
selected coordinate system in the Units and Zone tab.

When you place a dynamic north arrow in a layout and associate it with a viewport, the block reads the current coordinate system that is assigned in the drawing settings Units and Zone tab and adjusts the default rotation of the block based on that setting. Even if there isn't a rotation in the viewport, the north arrow won't be pointing due north as you might expect. Here's an example.:

  1. In Civil 3D 2013, open an existing drawing or create a new drawing from scratch.
  2. On the model tab (modelspace) draw a rectangle of any size.
  3. In the Settings tab of Toolspace, right click on the drawing name and choose Edit Drawing Settings.
  4. On the Units and Zone tab, set the Drawing Settings Zone Categories to No Datum, No Projection.

    No Datum, No Projection

  5. In a layout (paperspace), create a rectangular viewport from scratch. Make sure you can see the rectangle in the viewport to verify rotation throughout this example. You may need to zoom out if necessary to see the rectangle rotation better.
  6. When you are in paperspace, there should be a Layout Tools ribbon tab available. Locate the Layout Elements Panel and select one of the built-in dynamic north arrows to place in the drawing.

    Select one of the built-in Dynamic North Arrows

  7. When prompted at the command line, select a viewport for the north arrow association.
  8. Next you'll be prompted to select a location to place the north arrow.
  9. The north arrow may be very small and hard to see. Set the x, y, and z scales to 20. Notice that it appears to be pointing due north when compare to the rectangle in the viewport.

    North is North
  10. To make sure we compare apples to apples, make a copy of the viewport in your drawing.
  11. Back in the Toolspace, Settings, Drawing Settings, Units and Zone tab, set the selected coordinate system to WA83-SF, then OK.
  12. Now place a new dynamic north arrow in the drawing using the second viewport (the copy) for the north arrow association. (Only one dynamic north arrow can be assigned to each viewport.)
  13. Place the second north arrow near the first one and again set the x, y, and z scales to 20.
  14. Notice that the north arrows don't point the same direction? That's because of the change made to the selected coordinate system.

    Compare the Dynamic North Arrows
This is definitely something that you need to take into consideration when you use the dynamic north arrows in a drawing with an assigned coordinate system other than No Datum, No Projection. If you do need to rotate the contents of a viewport, just set the coordinate system back to No Datum, No Projection before making the change, then reset the coordinate system as needed.

Another consideration is to set the coordinate system in the base drawing and attach it to a separate sheet drawing for plotting. The sheet doesn't need a coordinate system assigned to it so there won't be a discrepancy between plan north and the rotation of the dynamic north arrow.

UPDATE:  There is another solution that actually works better.

GEOGRAPHICLOCATION

In modelspace, type GEO at the command line then choose Remove the geographic location.



With the geographic location removed, you can keep the coordinate system assigned and the dynamic north arrow will point plan north as expected.

Friday, November 11, 2011

What's Missing In the World of Civil 3D Points? Not This!


Sure there are feature requests that we all have for Civil 3D points such as having full functionality of dynamic blocks within a point style, but this post is actually about what is no longer missing.


This morning I was asked how to find ranges of point numbers that were not currently being used in a drawing. In older versions of Civil 3D, one might have tried to look at the All Points point group properties for a list of points in that group. Well, now there's an easier way to get the answer.

Beginning with Civil 3D 2011, we were given this nifty new command:

LISTAVAILABLEPOINTNUMBERS

This command returns a list of point numbers that are not in use in the current drawing. Now you might be thinking that is a really long command name to remember but don't panic. Here's a how you can access the command:
  1. In Civil 3D 2011, at the command line, type LISTA then press tab then enter. Civil 3D will auto-complete the command for you.
  2. In Civil 3D 2012, at the command line, type LISTA then press enter (no tab key required). Civil 3D will auto-complete the command for you.
  3. In Civil 3D 2011 or 2012, select a Civil 3D point. On the COGO Point contextual ribbon tab, look for the COGO Point Tools panel . Left click on the bottom of that panel and a fly out will appear. Choose List Available Point Numbers from the list.


So now you know one thing that is no longer missing from the world of Civil 3D points.

Wednesday, September 21, 2011

Multiple Offsets are Already Here

Have you ever wanted to offset a line multiple times within one command? See how after the jump...


Tuesday, September 13, 2011

Multiple Surface Dilemma (Part 3)

NOTE: This is Part 3 of the Multiple Surfaces Dilemma Series. You can view Part 1 of the series here. In Part 1 of this series, a surface named ComboSurface was created. Make sure you create that surface in your drawing before proceeding with these steps.

Wouldn't it be nice to have a visual representation of the target minimum depth in the profile view while you're designing your pipe network? Here's a way to make that happen:

Create a new surface in your current drawing and name it "MinimumDepth". You can use the same procedure as described for creating the "ComboSurface" in the original post of this series. Just as with the ComboSurface, this surface will not need to be displayed so set the surface style to "_No Display" as it's created.

To add some substance to the new surface, you'll need to paste the ComboSurface into the MinimumDepth surface. Again, use the same procedure described in the original post of this series except you'll be pasting a different surface.

Under the MinimumDepth surface definition, locate the Edits option, right click, and select "Raise/Lower Surface".
 

When prompted at the command line, enter -4 to lower the MinimumDepth surface 4 feet.

The last thing to do is create a profile based on the MinimumDepth surface:
  1. On the home ribbon tab, locate the "Create Design" Panel, left click on Profiles, then choose "Create Surface Profile" from the drop down list.


  2. In the Create Profile from Surface dialog box, select the alignment, select the MinimumDepth surface, then left click on Add.


  3. Change the style of the newly created profile to a style called "Minimum Depth". This style places the profile linework on a layer that doesn't plot and has a forced color and linestyle to look different from all other profiles.


The final product looks like this:




Monday, September 12, 2011

Multiple Surface Dilemma (Part 2)

NOTE: This is Part 2 of the Multiple Surfaces Dilemma Series. You can view Part 1 of the series here. In Part 1 of this series, a surface named ComboSurface was created. Make sure you create that surface in your drawing before proceeding with these steps.

In this post, I'm going to assign the ComboSurface to the Pipe Network in the network properties dialog box.
  1. Since the pipe network has already been created in my drawing, I just need to locate it in the Prospector tab of Toolspace, select it, right click, and choose Network Properties.


  2. Set the surface name to ComboSurface.


Now as I place pipes and structures in this pipe network, the correct elevation will be used/reported (EG or FG) according to the location of the pipe or structure. Remember, you don't want this surface visible, just create it and select it from the list of surfaces when needed.

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.


Friday, May 6, 2011

Don't Forget These Commands...Part 1

There are so many commands in AutoCAD and Civil 3D that we use every day. Some of them are available via toolbars, menus, or the ribbon, that you only have to learn where to find them, not memorize them.

In my case, there are a few commands or system variables that just get lost in the deep void of space inside my brain. Here's a few of them:

LINEWORKSHRINKWRAP - Creates a boundary around a selection set of objects.

PELLIPSE - Setting this variable to 1 will draw an ellipse as a polyline.

FILEDIA - This variable gets set to 0 during some commands and/or lisp routines. If AutoCAD crashes, you may have to reset it to 1 to display dialog boxes instead of command line prompts.

'STAE - Transparent command for Civil 3D to select station from the parent alignment of a profile view.

'SSE - Transparent command for Civil 3D to select station from the parent alignment of a profile view and elevation from a surface.

'PSE - Transparent command for Civil 3D to select station and elevation from a profile view.

'ZTP - Transparent command for Civil 3D to zoom to a point or range of points.

There's plenty more to add to this list, but it's a start.

Thursday, March 31, 2011

Multiple Surface Dilemma (Part 1)

Have you ever needed to create a pipe network that involves two different surfaces? Well, I'm going to show you a workflow that could make this situation a breeze.

In this example, I'm working with an alignment that crosses both an existing ground surface (EG) and a finished ground surface (FG). I've already created the alignment and I've added both surfaces via data reference. Here's how it looks so far:



Now, the pipes in this drawing will need to stay a minimum distance below the existing ground surface (EG) until the alignment crosses into the finished ground surface (FG). At that point the pipes will need to stay a minimum distance below the finished ground surface. So how can I do that? I'm going to make a surface that is a combination of those two surfaces.

The first thing I'm going to do is create a surface called ComboSurface. In this case, I don't need to see the final product of the combined surfaces, so I'm going to set the surface style to _No Display.


Now I need to add some substance to this surface. I'll do that by pasting the existing ground surface (EG) and finished ground surface (FG) into the new ComboSurface.



It's okay to select both surfaces at once.



When pasting surfaces into another surface, ORDER IS EVERYTHING! That means I need to make sure that the order is correct. Open the Surface Properties for the ComboSurface and select the Definition tab.

As you can see, the EG surface is at the top of the list and the FG surface is second in the list. This is exactly what I want for this surface. If the order is incorrect, select the EG surface and then left click on the "take me to the top up arrow" to send the EG surface to the top of the list.

Next, I need to make sure that this surface is set to Rebuild Automatically. To do this, I select the surface in toolspace, right click, then look for a check mark by Rebuild - Automatic. If there is no check mark (), I left click on Rebuild - Automatic to enable this feature. If the check mark is there (), I press ESC to cancel the change.

Now I have a surface that can be used for all the pipes and structures in my network!

In Part 2 of this series, I'll show you how to use this new surface in your pipe network.