POST
|
Hi Everyone, I have a geometric network in a file geodatabase and the first time I used the domains after making them they worked. The next time I was in the project all domains stopped working. I tried everything--removing the domains from the fields, deleting the domains, re-creating them from tables, re-applying them to the same fields...still no luck. I tried them in a fresh mxd too. None of them are on a subtype field, all are appropriate data types for the fields they are assigned to (just to head off a few questions). It is weird they worked at first than just stopped working. Is this a known bug, perhaps some kind of incompatibility with feature classes in a geometric network? I have never had attribute domains just stop working like this before. Jessica
... View more
05-24-2017
11:13 AM
|
0
|
0
|
478
|
POST
|
I have a similar problem. I have a geometric network in a file geodatabase and the first time I used the domains after making them they worked. The next time I was in the project all domains stopped working. I tried everything--removing the domains from the fields, deleting the domains, re-creating them from tables, re-applying them to the same fields...still won't work. I tried to edit in a whole new mxd too. None of them are on a subtype field, all are appropriate data types for the fields they are assigned (just cause I know people will ask these questions). It is weird they worked at first than just stopped working. Is this a known bug, perhaps some kind of incompatibility with feature classes in a geometric network?
... View more
05-23-2017
01:52 PM
|
0
|
1
|
1451
|
POST
|
Thanks Michael! I didn't know this existing. It looks super promising.
... View more
05-02-2017
10:23 AM
|
0
|
0
|
898
|
POST
|
Looks like I will have to delve into ArcObjects again as the methods to access adjacent network features don't seem to exist in arcpy.
... View more
05-02-2017
09:04 AM
|
0
|
2
|
898
|
POST
|
I just solved a similar issue for myself. Maybe what I came up with can help you. Basically I cycle through all the trace result layers added to the map that are prefixed by the group name I added them to the map as. If you deal with them as a map layer it should honor the selection in whatever you want to do with it. Below is part of my code to write "switch section" data to all feature classes that isolated by switches or open points. It might be amateurish but it seems to work. arcpy.TraceGeometricNetwork_management (network, "result_set", "current_switch", "TRACE_DOWNSTREAM","switch_barriers","","","","","","TRACE_INDETERMINATE_FLOW") addLayer = arcpy.mapping.Layer("result_set") arcpy.mapping.AddLayer(df, addLayer) layers = arcpy.mapping.ListLayers(df) for l in layers: if l.longName[:11] == 'result_set\\' and l.name != 'Electric_Net_Junctions': arcpy.AddMessage('Writing new switch section data (' + str(switchID) + ') on to layer ' + l.longName + '...') lyr = arcpy.mapping.Layer(l.longName) with arcpy.da.UpdateCursor(lyr, ['gs_sw_section']) as cursor: for row in cursor: row[0] = switchID cursor.updateRow(row)
... View more
04-28-2017
02:46 PM
|
0
|
0
|
492
|
POST
|
I am relatively new to ESRI geometric networks and working with an electric distribution system model in a file gdb. My goal is to make a python script that generates an export file that our power modeling software WindMil can use. I want to iterate through every feature in our GN and as efficiently as possible determine the immediate upstream feature(s) because each row in the csv export has to have the identifier of the current feature and the id of the immediate upstream feature. I have learned to use arcpy to perform network traces but I see no clear-cut way to get the immediate upstream feature. All I can think of is to find all the features immediately connected to my feature by geometry, then run an upstream trace and check to see what immediately connected features are also in the upstream trace features. This seems inefficient to do 80,000 times. Is there a better way? There probably is something incredibly easy I am just not seeing... Thanks! Jessica
... View more
04-26-2017
02:30 PM
|
0
|
3
|
1956
|
POST
|
Thanks Robert, I am hoping we get upgraded to 10.2.2 soon but that is out of my control.
... View more
08-22-2014
09:21 AM
|
0
|
0
|
328
|
POST
|
Hi everyone. I have this problem where my flex viewer apps ask for login credentials on seemingly random mornings and the only way I can make it stop is by restarting the arcgis server process. I have no services that are secure so why would it do this? The event logs doesn't seem to produce anything useful either. What other things could be occurring to make the login screen appear on random days?
... View more
08-21-2014
04:20 PM
|
0
|
3
|
2885
|
Online Status |
Offline
|
Date Last Visited |
11-12-2021
04:29 PM
|