Hi
We have a big piping job coming up and as Civil3d still lacks some of the labelling abilities we want in the profile view bands. I am updating some old vba that adds a profile line of the invert of a pipe network to a profile view effectively tracing along the bottom of the network like I know a lot of people do by hand.
My original code works on assuming that the start and end structure are at the start and end of the alignment in the revised code I want to allow for situations where this is not the case.
Leading to my question is there and easy way to find the distance a profile view part is drawn along the parent alignment or do I have look at writing my own function possibly extracting a polyline from the alignment and finding the distance using intersectionwith and distancefrom functions with the structure.
You should be able to use the end/start point of the pipe and get the station offset of that point in relation to the alignment of the profile view. Use the profile views alignment and pass the pipes start/end point. You can get the aligmnent ObjecId from the profile view in .NET (or the alignment in COM).
Christopher
Chris
Thanks for the suggestion I will look into it tonight.
Justin