Hi,
I am trying to populate the vertices of a line feature class that represents wastewater mains and there exists two populated fields where one field has the invert elevation for one end of the line and another field with the invert elevation for the other end of the line. Is there a way to populate the z values for the ends of the line using arcade. I would greatly appreciate if anyone could let me know.
Thanks.
Solved! Go to Solution.
OK, so you want an Attribute Rule. These can only be written in Arcade, that's why you can't choose Python.
Your formula would be
z_start = geodetic_height_start - invert_elevation_start
You have the invert_elevation from your feature and I assume you have the geodetic height as a DEM raster.
Sadly, Arcade doesn't work with rasters (yet?), so you can't do this as an Attribute Rule.
You can do it with a Python script / tool, but you would have to run that manually.
I'm sorry, but I can't really figure out what you're asking.
You have a line FC with two fields storing the "invert elevation" of the line's end points and you want to convert thtem to z values.
Yes, I am trying to use an arcade expression to populate the z values for each end of a line. When I try to set up an attribute rule to automatically populate these values. For some reason, whenever I try to create a rule to do this, it doesn't give me the option to switch from either python or arcade. It instead defaults to simply arcade.
OK, so you want an Attribute Rule. These can only be written in Arcade, that's why you can't choose Python.
Your formula would be
z_start = geodetic_height_start - invert_elevation_start
You have the invert_elevation from your feature and I assume you have the geodetic height as a DEM raster.
Sadly, Arcade doesn't work with rasters (yet?), so you can't do this as an Attribute Rule.
You can do it with a Python script / tool, but you would have to run that manually.