|
POST
|
I was confused by this at first too. The statement return matchField exits the delegate passed to QueuedTask.Run(). You still have to return a value from the GetFieldList() function. You *could* say return await ArcGIS.Desktop.Framework.ThreadingTasks.QueuedTask.Run(... However my colleague Charles Macleod recommended the following: public static async Task<string> GetFieldList(… return await ArcGIS.Desktop.Framework.Threading.Tasks.QueuedTask.Run(() => And then await GetFieldList() in the calling function.
... View more
01-16-2019
10:39 AM
|
1
|
1
|
4840
|
|
POST
|
You can actually call Geodatabase.GetDefinition<FeatureClassDefinition>() to go directly from the file geodatabase to the definition without incurring the overhead of opening the table. Other than that, this code is the correct way to get the field list. --Rich
... View more
01-14-2019
08:23 AM
|
0
|
3
|
4840
|
|
BLOG
|
A reminder to theElectric and Gas and Water Utilities communities that the new utility network can be accessed through the ArcGIS Pro SDK.
... View more
01-08-2019
11:05 AM
|
0
|
0
|
260
|
|
POST
|
None. Our intent is that network topology operations should take place server-side using our tracing framework. If you have scenarios or use cases that tracing doesn't currently fulfill, we would love to hear details. Exporting topology information for a subnetwork (circuit) for the purposes of exporting to a third-party OMS, DMS, or analysis package will be supported at ArcGIS Enterprise 10.7. Hope this helps, --Rich
... View more
01-02-2019
08:37 AM
|
1
|
4
|
3831
|
|
POST
|
You definitely cannot specify a global ID when creating a new feature. One possible idea would be to copy the source table using Append (which preserves IDs) and then make your edits to that new table. --Rich
... View more
12-31-2018
09:03 AM
|
0
|
1
|
1652
|
|
POST
|
Hi Ed, There is a global Preserve Global ID values that applies to geoprocessing and Python, but nothing like that in the C# SDK. Which methods in the SDK do you wish would preserve global ids but do not currently? --Rich
... View more
12-31-2018
08:43 AM
|
2
|
3
|
1652
|
|
POST
|
Charlie's code will get you the ArcGIS.Core.Data.UtilityNetwork.Element object that corresponds to a feature. This is used for editing associations, setting starting points and barriers, and getting results back from a trace. It does *not* give you access to the fine-grained topology for that feature. For example, if a linear feature representing a conductor consists of five edges with taps between them, you cannot get back the five individual edges. This capability is not yet exposed through the utility network.
... View more
12-28-2018
03:48 PM
|
1
|
6
|
3831
|
|
POST
|
It works this way to support bulk data editing workflows (e.g., when a new section of the network is brought over from a data conversion vendor). 1. Disable topology in a version 2. Perform bulk updating of data (faster without topology) 3. Reconcile and post I hope this helps. --Rich
... View more
12-23-2018
10:08 AM
|
1
|
0
|
1239
|
|
POST
|
Hi Thomas, Gintautas is correct (you can also use StandaloneTable.Select). --Rich
... View more
12-13-2018
09:07 AM
|
0
|
0
|
1412
|
|
POST
|
This will tell you if the project has unsaved edits. Project.Current.HasEdits
... View more
12-13-2018
09:04 AM
|
2
|
1
|
2498
|
|
POST
|
Hi Kyle, The first thing I would try is to change the call to FeatureClass.Search as follows: using (var rowCursor = featureClass.Search(editedRowsQuery, false)) This creates a non-recycling cursor, which is what you want for editing. Recycling cursors are described in more detail in the conceptual doc. I hope this helps, --Rich
... View more
12-12-2018
11:51 AM
|
0
|
3
|
3344
|
|
POST
|
I'm asking some colleagues, but I don't have a ready explanation. If you made any progress putting together a reproducible case for tech support, I'd love to take a closer look.
... View more
11-08-2018
08:40 PM
|
0
|
0
|
1966
|
|
POST
|
In the next release, Pro 2.3, anticipated in early 2019, we've changed Geodatabase.OpenRelationshipClass() so that it works with all geodatabase types, not just feature services. --Rich
... View more
11-01-2018
02:37 PM
|
0
|
1
|
2645
|
|
POST
|
This link should help: https://support.esri.com/en/contact-tech-support#us --Rich
... View more
10-29-2018
12:23 PM
|
0
|
1
|
1966
|
|
POST
|
Your code looks fine. I going to guess that editOp.Execute() returns False, and that editOp.ErrorMessage contains a string that may or may not be useful. My guess is that the Editor is having the same problems finding the field "DEPOTAREA" as the original code. I'm out of ideas. Could you send this to text support with some data and a code snippet? You can add my name so that there are no delays routing it to me. At this point I need a debugger to take a closer look. Thanks, --Rich
... View more
10-29-2018
09:09 AM
|
0
|
8
|
1966
|
| 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
|