If you run the Station Increment Report from the Toolbox you will get station information at the increment interval specified in the dialog box.
If you have Station Equations included in the alignment you may get results that you don’t necessarily want since the data won’t be returned at even station values.
This post will show how you can modify the VBA report to print even stations. This math would also apply to .net report, some of the code would be slightly different. To edit the VBA report you will need to vbaload the project, the file is located here on a Vista OS:
The location for XP is similar as well as for other versions of Civil 3D. The code that needs to be changed is shown below.
The first thing that needs to be added are the variables used.
Next code is added to adjust the curStation value to output the correct station equation value to get an even station value.
The code does a Do Loop until bTest is equal to False. bTest was set to True in the code above. It then checks to see if the number of station equations is exceeded, if it is the Do Loop is exited and the code is run regularly. If there are station equations then the code proceeds and checks to see if a station equation is applied between the current station and the station interval before it. If it is, the code adjusts the current station to account for the station equation. As it goes through the Do Loop if there are not station equations in the range or if all of the ones in the range have been gone through then the Do Loop is exited by setting bTest = False. I probably could have removed the bTest check and used Exit Do instead. The code then runs through the code as normal, except now the report returns at even stations, most of the time.
I said most of the time because the Station Equation may skip an even station, in which you will get a random station before the even station.
I only tested the changes on when data set, so I may not have gotten all of the bugs and as always you should verify the report is outputting the correct values.