|
POST
|
Jimmy, I'm not familiar with this AutoCAD environment, so this is pure speculation. Is it possible that your code is running on multiple threads? It works mostly, except when a second thread tries to execute the code and that second thread doesn't have the licensing token? One thing I would try is to wrap your geodatabase calls with QueuedWorker. This class works like QueuedTask inside a Pro add-in, but is designed for CoreHost apps. I hope this helps, --Rich
... View more
09-16-2021
08:51 AM
|
0
|
0
|
2408
|
|
POST
|
Thomas- There's no way to directly create a FeatureClass/FeatureLayer from a data structure returned from an Oracle API. Some ideas: Create a plugin datasource that reads from the Oracle.ManagedDataAccess. Plugin datasources are described here. The resulting feature class is read-only. Copy the data into a memory geodatabase. This is read-write, but of course any changes you make are to the memory database, not the Oracle tables. I hope this helps. --Rich
... View more
09-15-2021
12:22 PM
|
0
|
0
|
1283
|
|
POST
|
Sebastian, I haven't had time to test this, but have you tried creating a QueryTable? You create a QueryTable using the Geodatabase.OpenQueryTable method. This routine takes a QueryTableDescription object, which is built around a QueryDef. The routines returns a Table that you might be able to use with Table.CalculateStatistics. --Rich
... View more
08-18-2021
04:35 PM
|
0
|
1
|
2009
|
|
POST
|
I'm not familiar with ArcGisProQuery. If you want to use the Pro SDK, I would take a look at Table.CalculateStatistics. Here are some docs that walk through how to use this method. For your example, you would set the TableStatistics.QueryFilter to the query, and then create a single StatisticsDescription that uses the Count as the StatisticsFunction. I hope this helps, --Rich
... View more
08-16-2021
01:26 PM
|
0
|
1
|
2049
|
|
POST
|
Our names are confusing, but I think you're looking for RelationshipClassDefinition.GetOriginForeignKeyField. For a non-attributed relationship class, the meanings of the fields are as follows: OriginClass The name of the origin table DestinationClass The name of the destination table OriginKeyField Primary key in the origin table OriginForeignKeyField The primary key in the destination table (!), which is the foreign key for the relationship For attributed relationship classes, the meanings of the fields are as follows: OriginClass The name of the origin table DestinationClass The name of the destination table OriginKeyField Primary key in the origin table OriginForeignKeyField The name of the field in the attributed relationship table that corresponds to the primary key of the origin table DestinationKeyField The primary key in the destination table DestinationForeignKeyField The name of the field in the attributed relationship class table that corresponds to the primary key of the destination table --Rich
... View more
07-15-2021
10:00 AM
|
1
|
0
|
1092
|
|
POST
|
This really has nothing to do with Insert Cursors. All editing inside an ArcGIS Pro add-in should use edit operations, either directly or with an edit operation callback. If you use Geodatabase.ApplyEdits, the map is not refreshed and the operation stack (undo/redo) is unaware of your edits. I hope this helps. --Rich
... View more
07-02-2021
11:05 AM
|
1
|
0
|
1572
|
|
POST
|
We started to add some data definition language (DDL) capabilities in the Pro SDK at 2.8, but you cannot yet create relationship classes (it's planned for a future release). For now, you have to use the geoprocessing API and use the Create Relationship Class tool. --Rich
... View more
07-01-2021
03:45 PM
|
1
|
0
|
1713
|
|
POST
|
There's a conceptual doc explaining how to call geoprocessing tools from Pro. I hope this helps.
... View more
06-22-2021
04:59 PM
|
0
|
0
|
3135
|
|
POST
|
The Calculate Fields geoprocessing tool is the fastest way to mass update data. We are planning on adding faster update cursors to the C# SDK in a future release of Pro.
... View more
06-21-2021
04:29 PM
|
0
|
1
|
3153
|
|
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
|
3190
|
|
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
|
3217
|
|
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
|
2054
|
|
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
|
941
|
|
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
|
3067
|
|
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
|
2756
|
| 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
|