AnsweredAssumed Answered

How to find hypotenuse using python code

Question asked by Monica777 on Dec 13, 2017
Latest reply on Dec 13, 2017 by Monica777

I have a polyline feature class (sewer pipes) with upstream and downstream values but because the z values are not enabled on the dataset, I need a quick way to produce a "true length" or 3D value. How can I plug into the field calculator:

(upstream - downstream) squared + shape.length squared = hypotenuse? using python (or VB?)

Thanks to anyone, I am not a coder just a novice with python still.


I should add that I have created a new field called True_Len to calculate the result on, not trying to change an existing field value.