I am trying to set up a RC where the handrail of a bridge gradually grows over the length of a segment then maintains a height for another segment, then drops back to the original height over the length of the next segment.
Using an series of condition statements for segment ID's I am able to split up the spline, then I have used the expression: return ((XSplinePosition)*50)+100; to take the geometry z scale from 100 to 150 over the course of a specific segment id (I would use an inverse of the XSpline position to take it back down again. The problem is the XSplinePosition is generated using the entire length of the spline not the individual segment, is there away of making the XSplineposition 'counter' start at the beginning of the segment and not the spline as a whole?