Ad

Sunday, February 27, 2011

Station Label Tick

Not quite sure why I never noticed this before, but if you have an Alignment Station Label and add a Tick to the label, the tick stays at it’s correct location on the alignment. The tick stays in the correct location even if you drag the label. In addition any label component attached to the tick will stay in a non-dragged position. If you want the components to drag away from the alignment then you have to make sure they are not attached to the tick.

image

Tuesday, February 22, 2011

Convert String to ObjectId

A comment I added to the Through the Interface Blog, in case something happened to it there.

Kean, how about a post on the new way of getting an ObjectId from a string using the IntPtr?

Well if you don't, here's a bit of code for those looking how to do it:

Dim objIdPtr as IntPtr
objIdPtr = New IntPtr(CType(id, Integer)
Dim ObjId as New ObjectId(ObjIdPtr)

Your post seems to be the only relevant one that comes up in a Google search, thought I'd add it here so I can find it the next time I looked.

Thanks!

Thursday, February 17, 2011

Inlet Mistake

This week I’m taking the State of California required Qualified SWPPP Developer course. In the parking lot of the facility 100_1329I noticed an inlet that just didn’t look correct. It appears that the top of grate is a little below to a little above the adjacent curb. The grate inlet was part of a retention basin to treat water. It appears that the water from the parking lot is supposed to flow into the basin and fill up. There is a low flow inlet at the bottom of the inlet to allow the water to meter out of the basin. If the basin fills up the water is supposed to exit the basin through the grate. The flow into the grated inlet should exhibit weir flow. Unfortunately it takes some available elevation above the grate to allow an adequate amount of water to flow out, which as shown in the images below, it doesn’t have. Water is going to exit the site over the curb instead of exiting through the inlet.

Today’s post is interactive, in that I want your opinion on if Civil 3D should include a basin design feature to help prevent these type of mistakes. Now this is just for my personal curiosity and has nothing to do with Autodesk.

100_1331100_1327100_1328

Wednesday, February 16, 2011

Profile Elevations At Interval Shown on Alignment

You can add a reference label component to a major station label, unfortunately setting the reference profile can be difficult. Previously I thought you had to individually select each and every major station label, but there is an easier way. Press the Ctrl+Shift keys and then window over the labels. Isolating the major labels makes it easier to select only the labels you want. Then go into properties and set the reference label.

Unfortunately sometimes it doesn’t keep the value and you have to reset the reference profile. It also provides an alternative method to my last post.

Unable to display content. Adobe Flash is required.

Tuesday, February 15, 2011

How to list elevations on an EG or quick profile at specified distance?

There’s more than one way to answer this question. Here’s two of the ways I thought of to accomplish the task.

Create a polyline where you want the elevations at a the specified distance. Create Civil 3D points using the Measure Object method, using the specified distance.

image

While selecting the points, right click and choose Elevations From Surface..., choose the appropriate surface. Then the points will have the correct elevations. Either print out the plan view or select the points in one of the point reports or copy the information from Prospector.

You can also use Profile Major Station Labels by adding a profile elevation property to the major station label, although this won't work on a quick profile (at least in Civil 3D 2010). Of course one needs to create alignments and profiles to do this.

You can find other methods here.

LinkWithin

Blog Widget by LinkWithin

Ad