Does anyone now a solution to change color on a 3d polyline based on the Z value. The picture below is to clarify my answer, if the line is les than 0.5 meter below a surface it should color red, if it is between 0.5 and 0.55 yellow, etc. and not with the bars as it is now.
So I want to color the line itself in segments based on a z value, to be able to indicate risk zones if the depth of burial becomes to small.
Well, got it working by clipping the line with a multipatch feature on certain intervals. This gives me several small lines which I can color based on value. It is a work around, so if anyone knows how to color a 3d line based on depth value, let me know!