I'm having a problem trying to run a script to edit a line via the REST API using arcpy. I can't add vertices to a line from a utility network just by trying to edit it. My last attempt was with the Integrate tool. Has anyone had experience with this?
Solved! Go to Solution.
Thanks for the help, Cody. The problem was that I couldn't get the Global ID when accessing the feature layer through the .sde file, so I had to pull the data from the service into an array.
Hey @RafaelLima-img
Not sure if this would be an entire fix, but have you tried using the Densify tool in Arcpy? This would really be the method if you're trying to add vertices between the start and end points though.
Cody
Thanks for the help, Cody. The problem was that I couldn't get the Global ID when accessing the feature layer through the .sde file, so I had to pull the data from the service into an array.