Hello,
I want to batch edit the z values for all of my point layers in the utility network to be 0. I was able to do this for the line features using the solution from this post (https://community.esri.com/t5/arcgis-pro-questions/how-to-batch-edit-z-values-and-set-them-all-to/m-p/1579857#M92408 ), but I can't figure out how to create the arcade to make this work for a point layer. Any suggestions?
Thank you!!
@TanyaWright1 - much simpler with a point. Use the "Calculate Field" option on the Shape Field. Use the following arcade operation.
var geom = Geometry($feature) var new_point = Point({ x: geom.x, y: geom.y, z: 0, spatialReference: geom.spatialReference }) return new_point
Tried it out on a test dataset, where z = 10
Hope this helps.
@gis_KIWI4 thank you so much! This worked perfectly. Have a great day!
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.