|
POST
|
Ok, can you run this version of the tools? You should not have to enable debug mode, this version will force it on. Make sure to remove/delete the old atbx and restart pro. Atbx are essentially zip files. The compressed file includes a python module with all the logic. Once python loads a module, it does not reload it. So if Pro happens to load the old one, even if running the new toolbox, you get the old code. There are a number of ways pro can load the old one, so best is to rename/remove/delete the old one(zip it if you want a back up) https://github.com/Esri/Utility-Data-Management-Support-Tools/blob/preview_3.5.2/UtilityDataManagementSupport.atbx
... View more
04-09-2026
07:50 AM
|
0
|
0
|
53
|
|
POST
|
actually hold off, let me add a few more debug statements, the lower level function does not have any
... View more
04-09-2026
07:32 AM
|
0
|
1
|
237
|
|
POST
|
Can you try with 3.5.1 version of the tools. I am expecting to see more info in the debug log. There should be a message above the error with info that can help track down what is going on. Your issue is different than the original post. This is failing to create a table view on the UN class. https://github.com/Esri/Utility-Data-Management-Support-Tools/releases/download/3_30_2026_3_5_1/UtilityDataManagementSupport.atbx
... View more
04-09-2026
07:30 AM
|
0
|
2
|
245
|
|
POST
|
That is only the first 52 lines, can I get all the messages?
... View more
04-09-2026
07:10 AM
|
0
|
4
|
250
|
|
POST
|
If you run the same Batch Trace via the GP tool and not the notebook, same error? I have a lot of debug statements around this code area. Can you turn on debug logging and run it through GP(not a notebook) and share the results? To enable debug logging - First open the toolbox and open any tool. Fill it out and run it. You can immediately cancel it. This loads the embedded python module in memory - Open the Python window in ArcGIS Pro(not a notebook) - Enter the following import udms udms.logger.setLevel('DEBUG')
... View more
04-09-2026
04:24 AM
|
0
|
6
|
268
|
|
POST
|
Rules only reflect to what terminal of a terminal configuration items can be connected. Terminal Configuration/Path field is the paths that are defined in a terminal configuration that the feature is currently using.
... View more
04-08-2026
10:53 AM
|
0
|
0
|
265
|
|
POST
|
Are you running this in Pro or outside of pro? You are listing the describe name of the UN Layer " in_utility_network="L8Network_Utility_Network Utility Network", Can you change that to the full url path? How did you get that name in the tool?
... View more
04-07-2026
06:00 AM
|
0
|
8
|
287
|
|
POST
|
Could I get a schema only copy of test1.gdb to see what is going on?
... View more
04-07-2026
05:10 AM
|
0
|
0
|
146
|
|
POST
|
The most current information can be found on the solutions help page - https://doc.arcgis.com/en/arcgis-solutions/latest/reference/introduction-to-electric-utility-network-foundation.htm
... View more
04-07-2026
04:44 AM
|
0
|
0
|
528
|
|
POST
|
You can just copy those classes as is. No need to migrate them.
... View more
04-01-2026
04:02 AM
|
3
|
1
|
391
|
|
POST
|
Asset Group Unknown cannot be used in associations, rules, and other things. It is really a parking lot for data until it has a known asset group. You need to remove the associations to Unknown.
... View more
03-30-2026
05:08 AM
|
0
|
0
|
180
|
|
POST
|
Can you use an output filter to limit the trace results to remove AssetGroup = 12? The code block is designed to allow a user function for the calculated value. It will not let you limit what features get calculated.
... View more
03-25-2026
06:09 AM
|
1
|
0
|
204
|
|
POST
|
Could be, I never tried to work with a M:N in arcade.
... View more
03-24-2026
06:50 AM
|
0
|
0
|
234
|
|
POST
|
Try this, my only guess is that adds or deletes is an empty array and maybe that is causing an issue // Arrays to store edits
var edits = [];
var adds = [];
var deletes = [];
// Get all District features
var allDistricts = FeatureSetByName($datastore, "District");
// Find District features that intersect this Municipality feature
var intersectingDistricts = Intersects(allDistricts, $feature);
// Determine which District features that this Municipality overlaps with 80% or more
var overlappingDistrictGlobalIds = [];
for (var district in intersectingDistricts) {
var districtGeometry = Geometry(district);
var districtArea = Area(districtGeometry);
var intersectionGeometry = Intersection(Geometry($feature), districtGeometry);
var intersectionArea = Area(intersectionGeometry);
if ((intersectionArea / districtArea) >= 0.8) {
// This district overlaps, so store the GlobalID for it
Push(overlappingDistrictGlobalIds, district.GlobalID);
}
}
// Determine which relationships to add (new District features that overlaps with at least 80%)
var relatedDistricts = FeatureSetByRelationshipName($feature, "Municipality_District_Rel", ["GlobalID"]);
for (var index in overlappingDistrictGlobalIds) {
var districtGlobalId = overlappingDistrictGlobalIds[index];
Console(districtGlobalId);
var relatedDistrict = First(Filter(relatedDistricts, "GlobalID = @districtGlobalId"));
if (relatedDistrict == null) {
// A relationship didn't exist, so add it
Push(adds, {
'attributes': {
'Municipality_GlobalID': $feature.GlobalID,
'District_GlobalID': districtGlobalId
}
});
}
}
// Get existing relationships between Municipality and District features
var allRelationships = FeatureSetByName($datastore, "Municipality_District_Rel", ["*"]);
var relationships = Filter(allRelationships, "Municipality_GlobalID = '" + $feature.GlobalID + "'");
// Determine which relationships to delete (no longer overlapping with at least 80%)
for (var relationship in relationships) {
if (!Includes(overlappingDistrictGlobalIds, relationship.District_GlobalID)) {
// No longer overlapping enough, so delete the relationship
Push(deletes, {'GlobalID': relationship.GlobalID});
}
}
// Return edits dictionary if there are changes to the relatio
if (Count(adds) == 0 && Count(deletes) == 0) {
return;
}
var edit_payload = {
'className': "Municipality_District_Rel",
}
if (Count(adds)){
edit_payload['adds'] = adds
}
if (Count(deletes)){
edit_payload['deletes'] = deletes
}
Push(edits, edit_payload);
return {
'edit': edits
};
... View more
03-20-2026
05:55 AM
|
0
|
1
|
308
|
|
POST
|
Take a look at the Create Association Record tool in the utility network package toolset https://doc.arcgis.com/en/arcgis-solutions/latest/tool-reference/utility-network-package/create-association-records.htm
... View more
03-17-2026
08:28 AM
|
0
|
0
|
194
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | Wednesday | |
| 1 | Wednesday | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|