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-... ), but I can't figure out how to create the arcade to make this work for a point layer. Any suggestions?
Thank you!!
Solved! Go to Solution.
@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.
@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!