I need to populate the Z Geometry Attribute of a point feature class.
I have the Z value as a field in the attribute table.
How can I script this process to avoid having to hand type the elevation valves when I have the data already?
Pro 2.7, file gdb.
Field in Attribute table:
Solved! Go to Solution.
If you have the 3D analyst extension
Feature To 3D By Attribute (3D Analyst)—ArcGIS Pro | Documentation
If you have the 3D analyst extension
Feature To 3D By Attribute (3D Analyst)—ArcGIS Pro | Documentation
thank you! exactly what i was looking for!
If you know Python, you can also update(replace) the Z value from an attribute field.
Take a look at the answer from the following for a starter to update(replace) the Z
https://gis.stackexchange.com/questions/329511/updating-z-value-of-geometry-using-updatecursor
thank you, I'm bookmarking this for future reference! I used Feature to 3D By Attribute for this situation.
Does Feature to 3D by Attribute create an entirely new feature class or can this be used to replace z values on an existing one?
creates new feature class
Current version updates existing feature class - at least in mine pipe network tests. What was fancy for a line we could use two separate fields and it nicely adds elevations in gravity based sewer both ends. So feeding two separate height attribute added height in correct ends of a line. Brilliant functionality for gravity based sewers where question is where water flows in pipe network.