I'm trying to use the Calculate Field tool to calculate the 3D Length of an interpolated line and I can't seem to figure out the correct syntax for the expression. I've tried !shape.3Dlength@miles!, !shape.length3D@miles!, !shape.3D_length@miles!, and !shape.3D length@miles! but I keep getting an error. Any thoughts? I think 3D length is not supported using the field calculator (at least not this syntax). The only listed defined keywords for the shape components are: type, extent, centroid, firstPoint, lastPoint, area, length, isMultipart, and partCount. I believe you are limited to using the LENGTH_3D option of the Add Z Information tool. Then you would have to apply a unit conversion from your base units to miles. No guarantee this will work, but since the 3D Analyst tool uses the term LENGTH_3D as the keyword and I don't see that variant listed above, you could try: !shape.length_3D@miles!
... View more