New answers tagged

3

The Incremental Network Loader tool works for file geodatabases and personal SDE instances, but appears to have a bug for loading into SDE's, default or version. We're reporting this bug to ESRI. Alternatively, I found two other methods for accomplishing the data load into my SDE version: Append Tool - quick and new features were snapped to the geometric ...


1

A helpful trick is to access the group layer output from its in_memory location: arcpy.env.workspace = r'in_memory' #Group Layer resides in in_memory #forget the map reference, and go straight to its source userLayer = #make sure this is defined downstreamUsers = [] arcpy.TraceGeometricNetwork_management(myNetwork,outNet,mypts,"TRACE_UPSTREAM") ...


0

I wanted to share the final code I used to make a script tool. There were two main issues with the code I posted in my original question. First, was the problem of using 'in_memory' workspace for the trace output group layers, which KHimba answered nicely above. The second problem was how I set the parameter data types in the script tool properties. The ...



Top 50 recent answers are included