Select to view content in your preferred language

Ploblem to add vertice on service.

750
2
Jump to solution
08-25-2025 04:11 AM
RafaelLima-img
Emerging Contributor

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?

0 Kudos
1 Solution

Accepted Solutions
RafaelLima-img
Emerging Contributor

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. 

View solution in original post

2 Replies
CodyPatterson
MVP Regular Contributor

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

RafaelLima-img
Emerging Contributor

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.