|
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
|
2052
|
|
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
|
5957
|
|
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
|
1440
|
|
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
|
2217
|
|
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
|
3245
|
|
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
|
2452
|
|
POST
|
Hi Mike, Do you know which geodatabase routine is throwing the exception? --Rich
... View more
01-22-2021
09:53 AM
|
0
|
1
|
2465
|
|
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
|
3658
|
|
POST
|
Are you asking for a way to hardcode credentials into an application?
... View more
01-21-2021
08:57 AM
|
0
|
2
|
3665
|
|
POST
|
The Pro SDK includes a class called ArcGISPortalManager. It's a singleton, and you can use it to get the list of portals, and the active portal. From ArcGISPortal you can find out if you signed in, sign in, sign out, etc.
... View more
01-21-2021
08:33 AM
|
0
|
1
|
3667
|
|
POST
|
In addition to calling gdb.GetDefinitions<RelationshipClassDefinition>() you should also call gdb.GetDefinitions<AttributedRelationshipClassDefinition>() --Rich
... View more
01-19-2021
03:52 PM
|
1
|
0
|
4233
|
|
POST
|
Hi Kirk, Well you could, but anything in a namespace marked "internal" is undocumented and subject to change, so I wouldn't recommend it. --Rich
... View more
01-11-2021
10:10 AM
|
0
|
0
|
850
|
|
POST
|
Hi Kirk, We have this working in-house, so it might be something with your environment or your database file. You might want to open a tech support issue so that we can take a closer look. (SpatialLite should be in the 3rd Party Acknowledgement doc) --Rich
... View more
01-11-2021
10:04 AM
|
0
|
0
|
3004
|
|
POST
|
Hi Oguz, You can obtain a Selection object from the feature layer, and create a RowCursor based on that. using (ArcGIS.Core.Data.Selection selectedFeatures = (GNISFLayer as FeatureLayer).GetSelection())
{
using (RowCursor rowCursor = selectedFeatures.Search(null))
{
while (rowCursor.MoveNext())
{
using (ArcGIS.Core.Data.Row row = rowCursor.Current)
//Only selected records will be returned
{
fType = row["FEATURE_CLASS"].ToString();
state = row["STATE_ALPHA"].ToString();
county = row["COUNTY_NAME"].ToString();
quad = row["MAP_NAME"].ToString();
}
}
}
}
... View more
01-04-2021
04:19 PM
|
1
|
0
|
1122
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-10-2025 09:15 AM | |
| 2 | 11-30-2025 12:23 PM | |
| 1 | 07-17-2025 08:47 AM | |
| 1 | 08-12-2022 01:35 PM | |
| 1 | 06-28-2018 04:25 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-12-2025
12:03 PM
|