Here’s an issue I ran into recently. A client of mine was creating profile views for his sheets and noticed that the grade labels where always at the midpoint of the line. The problem with this is if less then half of the line was being displayed in the profile view, there was no label to display! So, after thinking about it for a few moments, I came up with a solution.

The Problem

By default, when a grade label is placed on the tangent line of a profile it is placed at the midpoint of the line. If you are using only one profile view for the entire profile, this is no big deal at all. However, if you have your profile split up into multiple views, the grade label for the line will only show up if the midpoint of the line is within the station range of the profile view.

three-views-one-label

One profile line, three profile views, one label

I don’t want this, I want the grade label to show up in ALL profile views regardless of how long the line is. So, here’s the solution.

 

The Solution

Here’s what I came up with, if I attach the label to the feature, my only options are to attach it at the beginning, middle, or end of the line. Well, I want it to be half way between the start of the line in the view and the end of the line in the view so, create line that goes from those two points.

label_line_setup

Create line within label style

The basics of this line is you want it to anchor the start and end to the feature (in this case, the feature is the line) and you want it to start where the line starts in the profile view (Anchor Tangent Start in View) and end where the line ends in the profile view (Anchor Tangent End in View). I don’t necessarily want to see the line in the profile view so set the visibility to “False”.

 

Now, we have something that will always be drawing in our profile view if there is a line in the view and now I can attach the label to the middle of that line.

add_label_to_line

Attach label to the middle of the line

Once this is done, if the profile view has even the smallest bit of the line being displayed, the line will be labeled.

three_views_-_three_labels

One profile line, three profile views, three labels

Will I provide you with a drawing that contains this label style? Nah. It’s pretty simple. Just go create it yourself!

Advertisements

I’ve been doing this one for a long time and someone asked about it on the discussion groups recently. I figured I would link them to my blog showing them how to do it and I realized I’ve never written this one up.

So, here’s the problem, Civil 3D does not have dynamic labels for assemblies. There are labels for just about everything but not for assemblies.What do you do?

Well, it’s pretty simple, just add a piece of text adjacent to the assembly and then add a field to the text. To insert a field, you can click the button on the ribbon (as you are editing the text) or press ctrl+f.

Add a field to text

Add a field to text

In the field dialog box, you’ll want to change the category to “Objects”, choose “Object” from the list, and then select the object.

Choose an Object

Choose an Object

Once you’ve selected the assembly (the vertical line, not one of the subassemblies), you’ll want to choose “Name” from the list (not “Object Name” or you’ll get “AeccDbAssembly” in the text). You can also format the case of the text in the right hand window.

Adding the Name

Adding the Name

Once you are done, you’ll see the field in the text with the assemblies name. If you change the name of the assembly, the field will update when the drawing is regen’d (it’s not immediate like Civil 3D labels).

Label Added

Label Added

You can also copy the text, edit the field, and have it reference a different assembly. And, another cool thing, if you copy the assembly and the text together, the new text will reference the new assembly.

 

It’s an exciting time of year for all of us Civil Software Geeks, new software is coming out and we get to see the new and exciting things in the latest release. If you haven’t seen it yet, check out my recap of What’s New in InfraWorks 2016.1. I just downloaded the latest release of Civil 3D 2016 and there are several things that are new. Here are the things in this release and the bold ones are the ones I’ll be discussing:

  • Manage data shortcuts to repair broken shortcuts and replace DWG objects
  • Display vault project objects that exist in subfolders within object type
  • Create data references to objects that exist in different vault projects
  • Import and export IFC (Industry Foundation Class) files
  • Select alignments by layer to be used as width and targets
  • Control the direction of sections in section views
  • Subbassembly Composer loop geometry support
  • Create exclusionary catchments
  • Crossing pipe and pressure pipe profile view labels
  • Pressure pipe labels in section views
  • Import Bridges from InfraWorks into Civil 3D

Just because I’m not discussing them here doesn’t mean they aren’t great improvements, it’s just that I haven’t installed Vault 2016 yet and I haven’t had a chance to learn what an IFC file is yet.

Oh, one more thing before I get started, NO DRAWING FORMAT CHANGE! That’s right, 2016 has the same drawing format as 2013. They’ve broken the 3 year cycle on changing the drawing format.

Manage Data Shortcuts

This one is sweet! Ever have a drawing move or have IT move data to a different drive? I know what you’re thinking, “Brian! They would never do that!” Yeah right. Anyways, this command allows you to repath your data references to a new drawing or to the original drawing if it moved on you. Not only that, you can replace an object in your drawing with a data reference and all the references to that original drawing are maintained!

Manage Data References

Manage Data References

Another fantastic thing that isn’t advertised in the “What’s New”, YOU DON’T HAVE TO SAVE PRIOR TO CREATING DATA SHORTCUTS!!!!!!

Data Shortcuts Without Saving

Data Shortcuts Without Saving

Alignment Targets By Layer

If you have several alignments that a corridor region needs to target, you can now choose the targets by layer.

Alignment Targets By Layer

Alignment Targets By Layer

Section View Display Direction

Section Views have finally caught up to Profile Views, they can be drawing “Right to Left” or “Left to Right”. This should make all those hydraulic modelers happy!

Section View Direction

Section View Direction

Subassembly Composer Loop

Have you needed to put benches in your daylight or a series of walls or something else repetitive in your subassembly? New in 2016, you can now add a loop component that will continue until either a criteria is met or a maximum number of iterations has been done (this keeps it from blowing up on you).

Subassembly Loop

Subassembly Loop

Exclusionary Catchments.

I’ve always liked the idea of creating catchments (or drainage areas or drainage basins or whatever term they use in your area) in Civil 3D from a surface but the problem has always been, but what if I need to subdivide this large basin into smaller ones? For example, I have a road with inlets at a low point and so I create a catchment to that inlet but, the flow in the street is too big. What do you do? You add an inlet upstream and then define a catchment to it. Now in 2016, this new catchment area will be removed from the original catchment so you won’t have duplicate areas!

First Catchment Added

First Catchment Added

Additional Catchment Added

Additional Catchment Added

Crossing Pipe Labels

We’ve been asking for this one for a LONG time and it’s finally here! We can label the a pipe where it crosses in a profile view!

Crossing Pipe Label

Crossing Pipe Label

In the image you can also see the different crossing properties that you can place in your label.

Pressure Pipe Labels in Section Views

In addition to being able to label pressure pipes crossing in a profile view, you can also label them crossing in a section view as well.

Pressure Pipe Crossing Section

Pressure Pipe Crossing Section

Import Bridges from InfraWorks

So, you have InfraWorks 360 with the Roads and Highways and the Bridge tools and you’ve created a nice bridge in InfraWorks. When you import that model into Civil 3D 2016, the bridge comes along as well now!

Bridge from InfraWorks into Civil 3D

Bridge from InfraWorks into Civil 3D

So, what do you think of Civil 3D 2016?