well i have the same problem i tried but i am getting only x,y coordinates, i am using 10.2.2.
You could use the python syntax and write:
!Shape!.firstPoint.Z
More examples here: ArcGIS Help (10.2, 10.2.1, and 10.2.2)
very usefull! any suggestion if i want to create a line with a start and end point which is not drawn at the terrain but as a chord, to get after that the z values?
Hi,
Is it possible to start a new thread and include some more details about what you're after? Maybe include some sample data or an image that explains the situation?
Kind regards, Xander
I'm late to the party but this tool in Pro works great!
Add Geometry Attributes—Data Management toolbox | ArcGIS Desktop
I have the same type of problem and simply cannot believe that this is still an issue.
I have gps data which i have extracted from photo metadata and converted to .kmz using geosetter.
I import this data using the kmz to layer tool and then save the points to a shapefile.
if i select a point the coordinates of the point are shown in the pop-up window in full with x, y and z (altitude).
then i tried both the 'Add XY Coordinates' tool which returned a 0 for all the z values and the 'add geometry attributes' tool which returned a 'null' for all the z values. the XY coordinates were written correctly.
what is the deal? it is 2019, we live in a 3D world. why is this so difficult?
please!