Ad

Sunday, May 17, 2009

Pipe Label – Dimension Look Part 2

In the previous post I started creating a pipe label that looked like an AutoCAD dimension. I now have Civil 3D 2010 up and running and can finish the post.

Next an expression will be used to set the elevation the pipe label should go to. In this case I’m using an elevation of 640. Using an expression will be useful since all we would need to do is change the elvation of the expression to adjust the placement of the pipe label.

 image

Now that I have the elevation placement, I need to calculate how far to move the pipe label. I’ll use the Pipe LabelElev expression above and subtract the average of the centerline elevations and then divide by the Drawing Scale Conversion and multiply it by 10. 10 is the profile exaggeration, if yours is different then change the 10 that matches the profile.

image

So now I’ll use the above expression in the Start Point Y Offset for the horizontal lines. Then anchor all of the label components to that line component.

image

The label should look something like the one below. I’ve labeled adjacent pipes to show that they line up in profile.

image

As you can see above I’ve got everything done but the vertical lines. I could add it to the pipe labels, but I like having the vertical lines equidistant from the bottom of the manholes. The only way I’ve found how to do that is using a structure label. The first is the an expression to set the elevation the label should go to.

image

Next create an expression to determine how long the line should be.

image

Then add the length expression to the label.

image

Depending on the command settings for the structure label placement, you may have to adjust it. The labels should look something like this.

image

A drawing containing the styles may be found here.

2 comments:

Unknown said...

Can't believe I missed this post.
I have a need for this type of style. Has anything changed in 2014 that would make this redundant. Where can I get a copy of the style.

The only issue is that we have a requirement for the dimension to be at the same location on all our profiles so I will have to find how to do that without having the elevation hardcoded.

Christopher Fugitt said...

It should all be the same for 2014. You can add a custom property to the pipes and then use it for the elevation of the pipe. That way each pipe may be set to the correct place.

LinkWithin

Blog Widget by LinkWithin

Ad