|
POST
|
Both the REST call and ArcPro SDK is doing the same work, like updating multiple subnetworks. REST call is super fast taking about 1 minute. while ArcPro SDK taking about 8 to 10 minutes to update the subnetwork on first time. Second time the processing time is decreasing to 3 to 4 minutes. That's why I'm focusing to the REST call. When you call the Pro SDK to update a subnetwork, how long does the REST call take? Also I noticed that if we are updating subnetwork for branch version from SDE.Default I'm not sure what you mean here. Are you updating the subnetwork on the branch version or the default version?
... View more
08-23-2022
10:23 AM
|
0
|
2
|
7155
|
|
POST
|
To run the subsequent trace, you would want to set a new starting point at the result of the first trace. Does this help?
... View more
08-17-2022
11:57 AM
|
0
|
3
|
3090
|
|
POST
|
I think you can create a network attribute based on asset type if one doesn't already exist ("Asset Type" shows up in my drop-down). That said, I would strongly recommend that you instead create a Category called "ProtectiveDevice" and assign it to the Overhead Three Phase Disconnect asset type. That way in the future if you wanted the trace to stop at other protective devices, you could just assign the category to these additional asset types. (In the screenshot below, I have the category called "Protective" but I assume you get the general idea)
... View more
08-17-2022
08:57 AM
|
0
|
2
|
3100
|
|
POST
|
Try keeping the traversability section of the trace configuration the way you normally would for an upstream trace, and enter a Filter to stop at overhead fuses.
... View more
08-17-2022
08:19 AM
|
1
|
1
|
3107
|
|
POST
|
The time difference here is alarming and unexpected. Do you have fiddler installed? I'm wondering if you could examine the call to update subnetwork that is generated by the Pro SDK and see if it matches what happens when you manually call it? Is the Pro SDK updating multiple subnetworks? --Rich
... View more
08-17-2022
08:17 AM
|
0
|
1
|
7187
|
|
POST
|
Sean, Have you watched this video from the 2022 DevSummit? This session provides a survey of the different options for writing custom tools and applications against the utility network- Pro, Runtime, Enterprise, and JavaScript. --Rich
... View more
08-15-2022
10:45 AM
|
1
|
2
|
2213
|
|
POST
|
Branch versioning does not support multiple concurrent editors against a single version. When you are updating a subnetwork with a direct REST call it's creating a second editing session. That's the source of the schema lock errors. Have you tried using the Pro SDK to update the subnetworks rather than REST?
... View more
08-12-2022
01:35 PM
|
1
|
1
|
7220
|
|
POST
|
While I don't work on the geoprocessing team, I have not heard of any plans. There really shouldn't be any problem working with the default ("memory") memory geodatabase. If you're concerned about memory usage, you could always delete the tables that you have created when you are finished with them. Creation is a bit tricky at the moment, because the code to do so is different depending on whether or not you have run a geoprocessing tool using "memory" already. Here's the workaround we shared at DevSummit: Geodatabase geodatabase; try { geodatabase = new Geodatabase(new MemoryConnectionProperties()); } catch { geodatabase = SchemaBuilder.CreateGeodatabase(newMemoryConnectionProperties()); } (We're fixing this at 3.1)
... View more
07-29-2022
11:52 AM
|
0
|
0
|
1924
|
|
POST
|
Dkuida, The Pro SDK allows you to create multiple memory geodatabases, each with an arbitrary name, as you have shown in your code above. Geoprocessing, on the other hand, only supports one memory geodatabase, called "memory", which can be created with either of these two lines: MemoryConnectionProperties() MemoryConnectionProperties("memory") Ken's reply shows how to create and use this memory geodatabase with geoprocessing. --Rich
... View more
07-29-2022
11:24 AM
|
0
|
0
|
1049
|
|
POST
|
Chained edit operations are typically used when the results of one call to Execute are needed for a subsequent call. Maybe I'm missing something, but that doesn't seem to be the case here. Could you try restructuring the code like this: Create an edit operation For each feature in the selection set Create a copy, and call editOp.Create Call editOp.Execute once at the end
... View more
07-27-2022
10:41 AM
|
0
|
1
|
2204
|
|
POST
|
Hi Brett, Just to confirm- you're using the EditOperation class to duplicate the features, right? Could you send us the EditOperation code that you use in your tool? Thanks, --Rich
... View more
07-27-2022
09:25 AM
|
0
|
2
|
2214
|
|
POST
|
Yes. Attribute rules are written using a scripting language called Arcade, which provides a function called GetNextSequenceValue(). More information on attribute rules can be found starting here. --Rich
... View more
07-13-2022
09:35 AM
|
0
|
2
|
4245
|
|
POST
|
I'll add that you should take a look at attribute rules. These are scripts that you can configure on a geodatabase that run in response to edit events on specific feature classes or subtypes. Doing a spatial query and assigning a value to an attribute is exactly what they are designed to do. Attribute Rules also work cross-platform, and will fire outside of ArcGIS Pro (e.g., runtime and server) --Rich
... View more
07-12-2022
10:21 AM
|
1
|
1
|
4275
|
|
POST
|
This snippet shows how to calculate the Sum and Average of a set of fields.
... View more
06-13-2022
12:06 PM
|
0
|
0
|
998
|
|
POST
|
Hi Shabina, Table.Search doesn't support functions such as "Min()". Check out the Table.CalculateStatistics method instead. API class reference Conceptual doc I hope this helps, --Rich
... View more
06-10-2022
09:48 AM
|
0
|
1
|
1032
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-13-2024 11:22 AM | |
| 2 | 01-29-2026 09:34 AM | |
| 2 | 01-28-2026 08:20 AM | |
| 1 | 12-10-2025 09:15 AM | |
| 2 | 11-30-2025 12:23 PM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|