Hello friends, I’m trying to edit the slope value of a pipe in dynamo. Since slope value is read-only, it cannot be editable. I’m wondering if some knows the formula to find a slope of a pipe. The formula should be able to find 1% slope of the pipe from point A to point B. Following is a formula that I’ve come up with but its not accurate, hope someone could help me on this.

Hi Thanks @Ewan_Opie for sharing the slope formula with me. In this case, I’ve to find the ‘Z’ value for second point where the pipe should be connected in a way that slope remains at 1%. I’m a bit confuse, how do I find that spot. And what about the built-in parameters that you’ve mentioned?

@kulkul thanks, what I have done is to find the ‘Z’ coordinate of the line before creating the pipe. I need 1% slope value but the value I’m getting is not accurate to 1%. So I wonder is there a formula to find the ‘Z’ value so we could get the 1% Slope?