|
POST
|
Narelle, thank you for your help! I get the first point of my sketch polyline like you described above using GetCurrentSketchAsync(). This works fine. Now I want to check whether the first point of my sketch intersects a point of a point feature layer. The problem is that the test always returns false because the coordinates of the first point of my sketch polyline and the point in the point feature layer are different, even if I snapped the sketch to the point. What does snapping actually do? Barbara
... View more
07-17-2020
04:16 AM
|
0
|
2
|
1867
|
|
POST
|
Hello Narelle, thank you for your reply! I have to catch the event when the user starts the sketch, i.e. the first OnMouseDown because I have to perform a test whether the first point of the sketch intersects another layer. In your answer, you mentioned something about sketch start. Is there a way to do this? I haven't found out how. Thank you, Barbara
... View more
07-14-2020
01:03 AM
|
0
|
4
|
1867
|
|
POST
|
I would like to create an editing tool with which I can draw freehand. In the constructor of the tool, I set the following: IsSketchTool = true;
SketchType = SketchGeometryType.OpenLasso; In the method HandleMouseDownAsync(MapViewMouseButtonEventArgs e), I get the current sketch because I want to add the clicked point to it: Polyline sketchPolyline = await base.GetCurrentSketchAsync() as Polyline; In the method OnToolMouseMove(MapViewMouseEventArgs e), I do the same as above. My question: what geometry type does the method GetCurrentSketchAsync() return? It is not a polyline. But what else? Thank you for your reply in advance.
... View more
07-13-2020
07:54 AM
|
0
|
6
|
1951
|
|
POST
|
I want to save some custom project settings (see ProGuide Custom settings · Esri/arcgis-pro-sdk Wiki · GitHub ). When I manually save the project, the function "OnWriteSettingsAsync()" is called. However, when I programmatically save the project using "Project.Current.SaveAsync()", the function "OnWriteSettingsAsync()" is not called. Is there a workaround for this? Thanks, Barbara
... View more
04-15-2020
07:41 AM
|
0
|
2
|
1090
|
|
POST
|
Hello, I haven't found out how to set the sticky move tolerance in ArcGIS Pro SDK. We want our users not to move features. Thanks, Barbara
... View more
04-02-2020
03:48 AM
|
1
|
3
|
4590
|
|
POST
|
Hi Gintautas, do you use InstallShield to create an installer for the managed configuration? If yes, I would like to ask you a question concerning InstallShield.
... View more
03-16-2020
07:57 AM
|
0
|
1
|
2326
|
|
POST
|
I am writing a feature to an Oracle Enterprise Geodatabase using an edit operation: var editOperation = new EditOperation();
// Assign shape and attributes
var attributes = new Dictionary<string, object>();
attributes.Add(shapeFieldName, shape);
attributes.Add("myField", row["myField"]);
// Create new feature
editOperation.Create(featClass, attributes);
bool succeeded = editOperation.Execute(); When executing the editOperation fails, I have no information what went wrong, i.e. if I violated a unique key constraint. Is there a possibilty to get the error? Or is there a better way to write features to an Enterprise Geodatabase? Thanks, Barbara
... View more
03-13-2020
07:05 AM
|
0
|
1
|
4534
|
|
POST
|
Hi Sean, I haven't found any code to validate a topology. Is this not supported in the Pro SDK yet?
... View more
03-09-2020
09:11 AM
|
0
|
1
|
1494
|
|
POST
|
ArcGIS Pro API is a DML-only (Data Manipulation Language) API, so all schema creation and modification operations need to be performed using the Geoprocessing API, which is quite slow. In our workflow, we perform a lot of schema creation operations. Are there any plans for the ArcGIS Pro API to become a DDL (Data Definition Language)?
... View more
03-09-2020
08:55 AM
|
0
|
1
|
855
|
|
POST
|
Hi Gintautas, thank you. Now I understand, I have to create an installer. I already have InstallShield Express installed.
... View more
03-03-2020
05:49 AM
|
0
|
0
|
2326
|
|
POST
|
Hi Gintautas, I'm not sure whether I understand your answer right. What I do now: - To install my managed configuration, I add an installation folder path in the registry in ConfigurationFolders. I then copy the file <MyConfig>.proConfigX to this installation folder. - To uninstall my managed configuration, I just manually delete the file <MyConfig>.proConfigX in this installation folder.
... View more
03-03-2020
05:16 AM
|
0
|
1
|
2326
|
|
POST
|
I haven't found out how to correctly uninstall an ArcGIS Pro Managed Configuration. When ArcGIS Pro is open, and I go to Project - Add-In Manager, no Add-In is detected. So I deleted the configuration file on C:\Users\<UserName>\Documents\ArcGIS\AddIns\ArcGISPro\Configurations. But I guess this is not the correct way.
... View more
02-28-2020
01:54 AM
|
0
|
6
|
2477
|
|
POST
|
Thanks, Rich. Is my assumption above correct?: multithreading in the Pro SDK is used to separate the user interface thread from the worker thread, i.e. a user can still perform tasks in the GUI while the worker thread does its work.
... View more
02-11-2020
02:03 AM
|
0
|
1
|
2365
|
|
POST
|
As far as I understand, multithreading in the Pro SDK is used to separate the user interface thread from the worker thread, i.e. a user can still perform tasks in the GUI while the worker thread does its work. Can I also split up time consuming tasks into multiple threads? In my application, I create some feature classes, and I assign renderers to the corresponding layers. I split this up into multiple threads as follows: Task task = QueuedTask.Run(() => CreateFootprintFCAsync(fdPath, "Footprint", spatialRef)); task = QueuedTask.Run(() => CreatePerimeterFCAsync(fdPath, "Perimeter", spatialRef)); task = QueuedTask.Run(() => CreateHabitatFCAsync(fdPath, "Habitat", spatialRef)); However, this code doesn't run asynchronously, but sequentially. Am I doing something wrong or is this expected behaviour?
... View more
02-10-2020
07:54 AM
|
0
|
3
|
2533
|
|
POST
|
It is also possible to open an ArcGIS Pro ProWindow (Add New Item - ArcGIS - ArcGIS Pro Add-ins).
... View more
01-20-2020
08:06 AM
|
0
|
1
|
2383
|
| Title | Kudos | Posted |
|---|---|---|
| 5 | 11-21-2024 12:58 AM | |
| 1 | 04-02-2020 03:48 AM | |
| 1 | 09-20-2020 02:31 AM | |
| 14 | 03-06-2024 02:24 AM | |
| 2 | 02-28-2024 05:37 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-10-2025
01:50 AM
|