Wednesday, January 8, 2014

I Got Shifted!

For those of you venturing into the Infrastructure Design Suites that include Raster Design, you might experience an unexpected "feature":

What happened to my shift key?

When working in Civil 3D, I use my shift key quite often. When I began using Civil 3D (with Raster Design installed), I noticed that my shift key seemed to no longer be working in two specific situations, though there may be others as well.
  • Hold shift and select an object to remove it from the current select set
  • Hold shift and select an object to switch between extend and trim commands
The shift key still worked in other cases such as shift+right click to access the osnap right click menu so I was a bit perplexed. Thankfully Mark Martinez with Enceptia knew right away how to fix the problem.

If you have Raster Design installed, there is a special setting that allows you to select an image by holding the shift key and selecting anywhere in the image. This setting can be very useful unless you need to use the shift key for other purposes such as those I listed. Mark instructed me where to disable the Shift+Left click feature that Raster Design has enabled by default. Here's the solution:
  1. At the command line, type ioptions and press enter.
  2. On the User Preferences tab, left click on the check mark by "Shift+Left click image select" to disable this setting.
  3. Left click on OK to apply the setting change.

  4. Select. Left click to disable. OK.
  5. At the command line, type mapioptions and press enter.
  6. On the General tab, left click on the check mark by "Shift+Left Click Image Select" to disable this setting.
  7. Left click on OK to apply the setting change.

  8. Select. Left click to disable. OK.
Hopefully this will keep you from pulling out your hair as I was tempted to do.

Wednesday, February 13, 2013

How Do I "EXPLODE" a Group?

I was asked this question twice this week already so I thought it would be good to post the answer for others.

To "explode" a group, use the  AutoCAD command: UNGROUP

Of course "exploding" a group may not be the best choice for every situation. In groups, if you just want to grip edit something within the group, set the system variable GROUPDISPLAYMODE to 0. This setting will display grips on all objects in the selected group. It will preserve the group while allowing you access to grips to make changes to individual objects within the group.

Here are a few images to show the difference between the three settings available in the GROUPDISPLAYMODE system variable. Each image shows a group consisting of an mtext object and a rectangular wipeout that has been selected within a drawing.

GROUPDISPLAYMODE set to 0
With GROUPDISPLAYMODE set to 0, the grips on all objects in the selected group will be displayed. Notice that I can adjust the limits of the wipeout or the width of the mtext object.

GROUPDISPLAYMODE set to 1
With GROUPDISPLAYMODE set to 1, a single grip at the center of the grouped object will be displayed. Notice the single grip at the center? With this setting I can't adjust the limits of the wipeout or the width of the mtext object.

GROUPDISPLAYMODE set to 2
With GROUPDISPLAYMODE set to 2, a group bounding box and a single grip at the center of the grouped object will be displayed. The only difference between this setting and the previous setting is that with the bounding box visible I can see the limits of the objects in the group.

Friday, January 18, 2013

Autodesk University 2012 Classes Posted

The materials and recordings for the 2012 Autodesk University classes have been posted. You can access the class list here:

You must have an AU account to access the classes. If you don't have an AU account, you can sign up for one here.

Since the announcement about this just went public, you may notice the website being a bit slow to respond. Just be patient because there are so many good classes available. In case you feel overwhelmed when you see the class listing, just refine your search such as Software: Civil 3D. There's even a filter for Language: Portuguese.

Enjoy!

OSNAPZ to the Rescue

Do you remember the Almond Joy/Mounds commercials?

(Sometimes you feel like a nut, sometimes you don't.)

The OSNAPZ command in AutoCAD reminds me of those commercials.

(Sometimes I want elevation, sometimes I don't.)

The OSNAPZ command is an easy way to switch between snapping to an elevation and forcing an elevation when creating or editing AutoCAD objects. When drafting in both the Civil Engineering and Land Surveying fields, both options are useful.

From the AutoCAD help documentation:

With OSNAPZ set to 0, OSNAP uses the Z-value of the specified point. For a polyline, the elevation selected for the first vertex will be assigned as the elevation of the polyline.

With OSNAPZ set to 1, OSNAP substitutes the Z-value of the specified point with the elevation (ELEV) set for the current UCS. With the system variable ELEV set to 0, the elevation will default to 0 for all selected points.

Now hopefully I can finally get that song out of my head.

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.