|
POST
|
When you published the service, did you render the layers by the Subtype/Asset Group? If not, you need to. This sets the Type field, which many clients use for subtype info. If you did and it is still not working, did you increase the coded value domain code on the service? https://doc.arcgis.com/en/arcgis-solutions/11.4/reference/configure-electric-multiuser-environment.htm#ESRI_STEP_D8F012E215904B5F95FACAE4FECFADE5
... View more
01-10-2025
05:37 AM
|
1
|
1
|
1991
|
|
POST
|
please do not break this into multiple attribute rules. There is a cost to each rule
... View more
01-09-2025
10:57 AM
|
0
|
1
|
2939
|
|
POST
|
you need to use the proper return edits dictionary, more info here: https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-dictionary-keywords.htm
... View more
01-09-2025
10:57 AM
|
0
|
0
|
2939
|
|
POST
|
Here is a function I use def get_workspace(desc, version) -> tuple[str, str]:
if getattr(desc, "dataType", None) == "ShapeFile":
return desc.path, "folder"
if desc.path.casefold().startswith("http"):
if not version or version.casefold() == "sde.default":
return desc.path, "service"
else:
return f"{desc.path};version={version}", "service"
else:
return get_workspace_desc(desc).catalogPath, "gdb"
def active_edits(self, layer):
# Dont ask me how this works, I forget
if not layer or not layer.connectionProperties:
return True
else:
return False
def change_version(self, layer_name):
# Note, this does not appear to work with a layer object, use the layer name
if self.workspace_version is None or self.workspace_version.casefold() == "sde.default":
return None
if not self.is_service:
return None
# Not sure if the normalization is needed
logger.debug(self.workspace)
pth = get_workspace(arcpy.Describe(layer_name), None)[0]
logger.debug(pth)
if os.path.normpath(self.workspace) != os.path.normpath(pth):
return None
logger.debug(f"Changing {getattr(layer_name, 'name', layer_name)} to {self.workspace_version}")
result = arcpy.ChangeVersion_management(layer_name, "BRANCH", self.workspace_version, None, "EXCLUDE")[0]
logger.debug(result)
if self.active_edits(result):
logger.error("Cannot preform Calculation with Active Edit Session")
raise SystemExit(1)
try:
logger.debug(result.connectionProperties)
if result.connectionProperties["connection_info"]["version"] != self.workspace_version:
logger.error("Version was not changed, exiting")
raise SystemExit(1)
except Exception as e:
logger.error(f"Unable to change version. {e}")
raise SystemExit(1)
return result
... View more
01-09-2025
03:41 AM
|
2
|
1
|
1933
|
|
POST
|
What language? In python, you can use a Counter from collections import Counter
x = Counter(["Apples", "Bananas", "Berry", "Bananas", "Apples", "Bananas"])
print(x)
... View more
01-09-2025
03:39 AM
|
1
|
0
|
2117
|
|
POST
|
Is this what you are trying to do? var val = "5 1 600"
var split_vals = Split(val, ' ')
var trimed_vals = []
for (var i in split_vals)
{
if (IsEmpty(split_vals[i])){
continue
}
Push(trimed_vals, split_vals[i])
}
return trimed_vals produces
... View more
01-09-2025
03:22 AM
|
0
|
1
|
2961
|
|
POST
|
You could look at using Contains(https://developers.arcgis.com/arcade/function-reference/geometry_functions/#contains) or Relate(https://developers.arcgis.com/arcade/function-reference/geometry_functions/#relate)
... View more
01-06-2025
04:52 AM
|
1
|
0
|
1128
|
|
POST
|
The manhole channel is a device that connects to pipe connections. It is contained by the structure junction manhole. If you do not want to model Z values on the pipe, then you do not need to use the pipe connections and the structure junction manhole. Many have done this, you might just need to add the rule to allow manhole channel to connect to pipes. We incorporated this feedback when building the essentials model, where the manhole channel was just called manhole and pipes snapped directly to it. Hope this helps.
... View more
12-26-2024
08:18 AM
|
0
|
0
|
1562
|
|
POST
|
The vaults are in the structure network and you cannot have a Junction Edge rule from the structure network to the domain network. The Manhole channel is contained in the structure. The manhole channel is connected to the pipes and allows flow from pipe to pipe. If you are modeling Z on mains, you will need to use a pipe connection at the end of each pipe and then connect the pipe connections to each other or through the manhole channel. The essential version of sewer, does not use the Z's on pipes and provides a more Geometric style modeling of sewer
... View more
12-24-2024
05:51 AM
|
0
|
2
|
1594
|
|
POST
|
Why is the 'Interescts($feature)' a string? Dont think you need filter at all change to var intersectingPolygons = Intersects(demFeatures, $feature);
... View more
12-21-2024
12:58 PM
|
0
|
0
|
1839
|
|
POST
|
please post code using the insert code sample option // Retrieve the DEM polygons feature set
var demFeatures = FeatureSetByName($datastore, "Elev_Polygons_2023", ["gridcode"], true);
// Find the polygons that intersect with the current device
var intersectingPolygons = Filter(demFeatures, 'Intersects($feature)');
// Get the first intersecting polygon
var intersectingPolygon = First(intersectingPolygons);
// Extract the gridcode value if an intersecting polygon exists
var elevation = intersectingPolygon["gridcode"];
// Return the elevation value
return elevation;
... View more
12-21-2024
12:56 PM
|
0
|
0
|
1839
|
|
POST
|
Jens sent me a sample dataset and was able to see what is going on. The behavior is as designed. When selecting a target tier in trace, the condition barriers and other parameters defined in the trace, are only applied to tracing the tier in the Tier parameter. The subnetwork definition of the target tier and all the tiers between Tier and Target tier are used. The user specified trace configuration is not applied to those tiers.
... View more
12-17-2024
11:36 AM
|
0
|
0
|
2290
|
|
POST
|
Jens, If you want to provide a sample, I can help troubleshoot.
... View more
12-16-2024
04:02 PM
|
0
|
0
|
2312
|
|
POST
|
It appears, according to the help, that the deleted subnetwork does not get purged from the subnetwork table unless you run Export Subnetwork or Update Subnetwork in Default.
... View more
12-16-2024
07:52 AM
|
0
|
0
|
1228
|
|
POST
|
Might be one of those odd things with how you navigate to the file. The SDE file needs to be on the right select. The left side is a navigation. So click the parent folder of the SDE file on the left and select the connection on the right.
... View more
12-16-2024
07:10 AM
|
0
|
1
|
1494
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 2 | 07-07-2026 06:45 AM | |
| 1 | 06-26-2026 09:15 AM | |
| 1 | 06-05-2026 05:01 AM | |
| 1 | 06-02-2026 01:29 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|