Ad

Tuesday, September 16, 2008

Updating References

If by some chance you download one of the programs on the Intermittent Block site you may find that the references need to be updated in order to get the program to work. To update the references load the dvb file and then type vbaide to get the Visual Basic Editor to come up. Then go under the Tools Menu and choose References.

image

There may be a MISSING: in front of the Autodesk Civil Engineering Object libraries. Scroll down the list and find a current version for the Object Library. The libraries are numbered for each version, 2009 is 6.0, 2008 is 5.0, 2007 is 4.0 and so on.

Monday, September 15, 2008

Intermittent Block of the Day Has Moved

The items previously on this webpage http://fredbobchris.googlepages.com/intermittentblockoftheday have been moved to http://style.civil3dreminders.com/intermittentblockoftheday. Along with the move they have been better organized to make finding things easier. Also some DWFs have been posted to see what may be in the file to help you decide if you should download the file.

Enjoy.

Sunday, September 14, 2008

Modifying Incremental Stationing Report - II

While I was messing around in report for the last post I noticed that it has the problem most of the reports have when reporting station values at a set interval. The report takes the first station value and then simply adds the increment to it. So if your starting value is 4+69.24 the next station value would be 5+19.24 (if the station increment was 50). I think most people would want the starting station reported and then the next even station value, 5+00 in the example above. One way to correct the report is to do the following:

Open the report as indicated in the last post and open the ExtractData module and scroll down to the code that looks like:

image

So now make the revisions to the code as shown below:

image

I haven't tested the code if you choose an interval other than a number divisible into 100. For instance if you choose 40, I don't think it would work.

Saturday, September 13, 2008

Modifying Incremental Stationing Report

If you want to change the incremental stationing report to show all profile types instead of just the FG profiles you will need to change the code. In this example I'll be revising the vba file. A similar change can be made to the vb.net code that comes with the product, but for that you would need to download Microsoft Visual Studio Express or by the full version.

To start type vbaload and find the Report_ProfileStaInc.dvb in the C:\ProgramData\Autodesk\C3D 2009\enu\Data\Reports\vba\source\ folder (at least in Vista). Next type vbaide to get the vba editor to show up. Open up the code for the form. To do this right click on the ReportForm and choose View Code.

image

Choose FillGrid from the drop down list on the top of the code window.

image

Scroll down to the code that looks like the code below in the picture. In front of the highlighted code in yellow add an ' . This will comment out the code and the program will ignore those lines and not check to make sure the profile is a finish grade profile before adding it to the list of profiles.

image

Now just save the code. You can run the report from the command line using the vbarun command and choosing the ProfileStaInc_RunReport from the list of macros. You can also add the vba to the Toolbox for easy future access. The dialog box will now show all types of profile types.

Friday, September 12, 2008

Ctrl Key Fun With Alignments

In Civil 3D 2009 you can select an individual segment of an alignment using the Ctrl key. This is helpful when you want to delete a portion of an alignment with out going into the Alignment Layout Tools. If you can't delete the segment it is probably because another segment is dependant on it. To make sure you don't have to delete a bunch of segment remember to include some fixed curves or fixed lines.

On a seperate topic on alignments, when using the Free Curve with radius make sure you use the grips for the adjacent objects to modify it's location. If you use the grips at the center of the curve or the endpoints you will be modifying the radius of the curve.

image

LinkWithin

Blog Widget by LinkWithin

Ad