|
POST
|
OK, you'd have to do it manually then. Read the values of Field1 and Field2, do the calculation and then write out the result to Field3.
... View more
06-18-2021
11:14 AM
|
0
|
1
|
3978
|
|
POST
|
Hello, You might want to take a look at attribute rules. While not part of the Pro SDK, attribute rules run Arcade scripts when edits take place. You can assign a calculation rule to Field3 that computes the value of (Field1 + Field2)/2 just as you have written above. I hope this helps, --Rich
... View more
06-17-2021
05:14 PM
|
0
|
1
|
4005
|
|
POST
|
What do you mean by "database name"? File and mobile geodatabases have a path, feature service geodatabases have a service URL, and enterprise geodatabases have a collection of connection properties. What is it you are looking for? --Rich
... View more
06-15-2021
08:56 AM
|
0
|
1
|
2554
|
|
POST
|
The area and length fields are not real fields, they are synthesized fields. You shouldn't need to fully qualify them. --Rich
... View more
05-11-2021
12:34 PM
|
1
|
0
|
1215
|
|
POST
|
Hi @ModyBuchbinder , I just wanted to let you know that you will be able to directly create memory geodatabases and tables within them using the Pro SDK at 2.8. --Rich
... View more
04-23-2021
04:52 PM
|
0
|
1
|
3948
|
|
POST
|
Pro 2.8 will contain some DDL functionality, in case you want to create a table without adding it to the map. --Rich
... View more
04-23-2021
04:48 PM
|
0
|
0
|
3835
|
|
POST
|
Hi Jay, You can do this using the statistics, although it's not as clear as I'd like it to be. The statistics capabilities are described here. What you will want to do is create a TableStatisticsDescription. Set the GroupBy property to the field you want to get unique values for. OrderBy and QueryFilter can be left blank. For StatisticsDescriptions, you need to pass in a "dummy" function- I would suggest you just pass in the same field and "Count" as the function. I hope this helps some. --Rich
... View more
04-23-2021
04:44 PM
|
0
|
0
|
2410
|
|
POST
|
If you haven't already, I'd take a look at the resources here, especially the Concept documents. The APIs are different enough to make it hard to create a direct mapping between them. For your specific example, Pro does not support geometric networks and there is no equivalent to INetworkClass or IGeometricNetwork. --Rich
... View more
04-23-2021
04:32 PM
|
0
|
0
|
6625
|
|
POST
|
Hi Kirken, If you fetch the changed rows, you can use Row.HasValueChanged to determine if a field has changed. You can get the field index of the shape field by getting the feature class definition and then calling featureClassDefinition.FindField(featureClassDefinition.GetShapeField()). I hope this helps, --Rich
... View more
04-05-2021
09:43 AM
|
0
|
0
|
1918
|
|
POST
|
Hi Eloy, Is the feature class you are editing has any relationship classes with messaging enabled, you might want to use an edit session (i.e., Geodatabase.ApplyEdits). Otherwise, what you are doing is the fastest way currently. We are investigating creating an UpdateCursor class in a future version of Pro. --Rich
... View more
03-12-2021
02:11 PM
|
1
|
0
|
2739
|
|
POST
|
This is an ongoing development project. While we've made significant progress internally, nothing has shipped yet. I'll be providing an update on utility network functionality with Runtime at this year's DevSummit. --Rich
... View more
02-01-2021
08:24 AM
|
3
|
0
|
4080
|
|
POST
|
I don't have any idea why any of those routines would throw the exception you noted. Unless someone else responds, I'm guessing your fastest resolution would be to open an incident with tech support. --Rich
... View more
01-22-2021
01:59 PM
|
0
|
0
|
3046
|
|
POST
|
Hi Mike, Do you know which geodatabase routine is throwing the exception? --Rich
... View more
01-22-2021
09:53 AM
|
0
|
1
|
3059
|
|
POST
|
Yes, you can be logged into multiple enterprise portals as well. Hard-coding credentials into an add-in is never a good idea from a security perspective. Anyone with a copy of the add-in can use it to access that portal, or even decompile the .NET code and just read the credentials from that. An employee from Red Company can email the add-in or put in on a thumb drive, walk out of the building, and take it to a competitor of Blue Company. If you really don't want Red Company's employees having accounts on Blue Company's portal, you should get the IT groups from Red and Blue Company to figure out how to federate security between them. Unfortunately, how to do that is well outside my area of expertise.
... View more
01-21-2021
11:00 AM
|
1
|
6
|
4776
|
| 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 |
13 hours ago
|