Questions tagged [arcgis-pro-sdk]

use this tag related to ArcGIS Pro SDK 1.x for .NET, and topics relating to the ArcGIS Pro 1.x .NET SDK (C# and Visual Basic).

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views

ArcGIS Pro SDK for .Net loading dlls and app.config settings

I am trying to use some third party dlls (Entity Framework and EntityFramework.SqlServer) in my arcgis Pro sdk module. However, whenever my code runs inside ArcMap pro, I get errors like this: No ...
3
votes
0answers
13 views

ArcGIS Pro SDK forcing process windows to be minimized?

I'm running a Process from my add-in, and even if I use P/Invoke to force the window to be open and in the foreground, the process windows that appear will be minimized. Weirdly enough, they are ...
1
vote
0answers
26 views

Can an invidual sell ArcGIS Pro add-ins at ArcGIS Marketplace? [closed]

I have an add-in that I would like to sell to ArcGIS pro users. I checked the ESRI website and they have only mentioned ESRI Network partners as eligible providers. Can an indvidual not list products ...
-1
votes
1answer
46 views

This version of Geodatabase is incompatible with dataset and cannot open it using ArcGIS Pro

This implementation is done in ArcGIS Pro .Net SDK and has an Enterprise geodatabase. We had a polyline feature layer and move functionality was implemented in this. The functionality was working fine ...
0
votes
2answers
27 views

ArcGIS Pro SDK add FeatureLayer to map

I know this is a very simple question, however, I find it difficult to find an answer. How do I add an existing layer to my map using ArcGIS Pro SDK? I saw several examples where the layer is added ...
0
votes
1answer
30 views

ArcGIS Pro SDK set rotation / angle field in renderer

I'm in the process of converting an Addin written in ArcObjects to an ArcGIS Pro Addin. I need to rotation everything in a point layer using the values stored in the ANGlE field. In ArcObjects I was ...
0
votes
1answer
51 views

Detect one or more rows selected in an attribute table from an add-in

With ArcGIS Pro SDK 2.5, you can detect that the map selection has changed with the MapSelectionChangedEvent, which also includes selecting one or many rows in the attribute table of a geodatabase ...
0
votes
1answer
47 views

Apply symbols in a style sheet(stylex) through code

I'm in the process of converting an ArcMap add-in using ArcObjects to use ArcGIS Pro SDK. Not a fun process I must say. We need to apply symbologies on the fly through code. In ArcObjects I can find ...
1
vote
0answers
83 views

Opening Attribute Table by using ArcGIS Pro SDK, WPF and C#

I am trying to display an attribute table for a selected layer. I have access to attribute table but I can not pass the ArcGIS table to the DataGrid I created in xaml. <DataGrid x:Name="...
1
vote
1answer
14 views

ArcGIS Pro 2.4 .NET SDK: calling templatized class instance methods from Python?

I'm trying to do some learning with the ArcGIS Pro 2.4 .NET SDK in the Pro application's Python window: import clr import ArcGIS.Desktop.Core as ADC for i in ADC.Project.Current.Items: print(i) ...
2
votes
0answers
75 views

Activate Map on the click of a button ArcGIS Pro SDK

In this case, when an ArcGIS Pro project is opened, non map panes are active. I would like the map pane to be activated on the click of the button as proceeding code requires the MapView.Active to not ...
1
vote
0answers
23 views

Transfer fields from one layer to another ArcGIS Pro SDK

I am creating a new layer and I would like for the new layer to take on the fields schema from the input layer. How can I accomplish this in ArcGIS Pro SDK C#? This is the code that I have to ...
0
votes
0answers
22 views

Hit test for Symbols in ArcGIS Pro

I want to show a tooltip when the user moves the cursor over a prior generated symbol. Unfortunately I couldn't find any way how to make a hit test for the symbol. In ArcObjects I'm using the ...
0
votes
0answers
39 views

Listen to ArcGIS Pro project save event

Is there a way to listen for the project save event in ArcGIS Pro? I need to check for something before allowing or denying the save event.
1
vote
1answer
42 views

Modify the same feature multiple times ArcGIS Pro SDK EditOperation

I am atttempting to modify a feature twice using EditOperation in a loop. I am redacting certain subcurves from a given polyline at different sections of the line. The output polyline should be the ...
3
votes
0answers
135 views

Open feature class in in_memory workspace ArcGIS Pro SDK

I am aware that one can open a feature class in a geodatabase using the code below. Geodatabase geodatabase = new Geodatabase(new DatabaseConnectionFile(new Uri("path\\to\\sde\\file\\sdefile.sde"))) ...
0
votes
0answers
68 views

Displaying one sublayer from WMS service to ArcGIS Pro using SDK

I have developed a new toolbar Add-In for ArcGIS Pro 2.4 with C# and ArcGIS Pro SDK in Visual Studio 2019. This toolbar has several buttons that load geographic information to a map canvas in ArcGIS ...
0
votes
0answers
24 views

Retrieving custom created transformations in ArcGIS Pro SDK?

I have created custom transformations using GeoProcessing in ArcGIS Pro SDK, but it returns a geographic coordinate system instead of a transformations. How can I retrieve transformations using the ...
2
votes
0answers
21 views

Linking a .chm or URL to the title bar help button for a ProWindow

I noticed that the ProWindow exposes a "ShowHelpButton" property which shows a "?" on the title bar, but a click navigates to the ArcGIS Pro help website. Both the ArcGIS Pro SDK repository and the ...
2
votes
0answers
49 views

Write Excel From ArcGIS Pro, Async

I am having trouble writing to an excel file from ArcGIS Pro Sdk add-in that I created, I have a basic understanding of multithread, I am using task but the main thread does not wait for the excel to ...
0
votes
1answer
236 views

Silent install of ArcGIS Pro Add-In

We are currently migrating to ArcGIS Pro 2.2, with new add-in to improve our workflow. Our Add-in have been shared on a common network drive so far. But our main concern is that we are not admin on ...
1
vote
0answers
59 views

Getting Esri Brushes to appear as dynamic resources in Visual Studio?

I used the ArcGIS Pro SDK to create my Add-In project and to create the DockPane but the Esri Brushes don't show up as Dynamic Resources. According to Esri (https://github.com/Esri/arcgis-pro-sdk/...
2
votes
1answer
187 views

Seeking ArcGIS Pro SDK equivalent to geometry.measureOnLine(point) of ArcPy?

I am looking for a method in the ArcGIS Pro SDK 2.2 that will return the measure distance along a given polyline geometry. Here is the python method measure = polylineGeometry.measureOnLine(...
0
votes
3answers
589 views

Using WinForms with ArcGIS Pro SDK?

I want to port a tool developed in ArcObjects for ArcMaps into ArcGIS Pro using the ArcGIS Pro SDK. The tool's UI was created using WinForms but to recreate the UI in ArcGIS Pro is looks like I would ...
0
votes
1answer
120 views

ArcGIS Pro Add-In, MVVM getting filepath in viewmodel but showing only filename in view

I have an ArcGIS Pro Addin that I need to get a path to gdb for some processing, I would like to do this but show only gdb name in text box. I have a behaviors class and a viewmodel and a view. I ...
1
vote
0answers
233 views

How to use Material Design in XAML Resources for an ArcGIS Pro SDK Add-In? [closed]

I am in the process of creating a .NET add-in for ArcGIS Pro using the Material Design in XAML packages. I created a new UI within a wpf application project during testing and am now implementing it ...
1
vote
0answers
72 views

How to find all connected edges from gas device feature using C# API call to ArcGIS Pro SDK?

I am currently using connected trace to trace all the specified gas devices (using its Asset Group and Asset Type) to get output from the trace. I want to find all the connected edge features from ...
1
vote
1answer
153 views

ArcGIS Pro SDK OpenRelationshipClass does not return results

I have been struggling with this issue for hours now and am wondering if anyone else has encountered this. I have a feature class (ADDRESS_MANAGER.GIS_INF_ADDRESS_P) and a table (ADDRESS_MANAGER....
0
votes
1answer
129 views

Click on a point and perform a geoprocessing tool?

In ArcMap, I have created a Python Add-In tool that clicks on a point anywhere on the map, then uses the coordinates as an input to a geoprocessing tool that runs a select by location and buffer of ...
1
vote
1answer
781 views

Move Python Add ins to ArcGIS Pro without having to learn a new programming language?

I have created a Python Add in for ArcMap and it has been tested and functions very properly. However, I am looking online, and it seems like I have to go through a lot of processes just for it to ...
0
votes
0answers
5k views

Store Database Connection String in App.config for an ArcGIS Pro SDK Add-In 2.x

I have added an app.config file to my visual studio pro SDK project and I’m trying to retrieve a connection string from it. The retrieval code always returns null. I don’t know if that’s because it is ...
3
votes
3answers
624 views

Creating Custom Layers using ArcGIS Pro SDK for .NET?

We have a Custom Extension developed for ArcMap, which includes the Creation of a Custom Layer. The Code for the Layer is similar to what you see in this Answer to Custom Layer not drawing using ...
2
votes
0answers
479 views

Tutorial on migrating Add-ins from ArcGIS 10.x (ArcObjects) to ArcGIS Pro for Microsoft VB.NET? [closed]

I can't seem to find any comprehensive tutorials on migrating (recreating comparable functionality) of 10.x (ArcObjects) VB.Net Add-ins to ArcGIS PRO SDK Add-ins. When migrating from Avenue, ESRI ...
0
votes
1answer
368 views

How to deploy a Custom ArcGIS Pro Configuration?

I have created a Custom ArcGIS Pro Configuration by customizing this sample: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Framework/ConfigWithMap This is working as expected ...
1
vote
0answers
124 views

Async Databinding using ArcGIS Pro SDK and MVVM?

How can we bind data to datagrid (In dockpane) using Async programing in ArcGIS Pro SDk and MVVM as one of my process will take lot of time. Please let me know if you can have any ideas or samples.
3
votes
0answers
205 views

Unit testing ArcGIS Pro SDK?

I am wondering, if there is a possibility to unit test own code using the ArcGIs Pro 2.0 SDK. I did not find any until now, because there are plenty of static functions, classes, etc. and no ...
0
votes
1answer
254 views

Executing Intersect tool in arcgis pro .net sdk

In ArcGIS Pro version 2.0.0 I use this code to execute merge tool public async Task<bool> ExecuteToolAsync() { var valueArray = await QueuedTask.Run(() => { // Creates ...
1
vote
1answer
49 views

daml: <disabledText/> in ToolTip

I have found several examples for how to define tooltips in a config.daml file. There is sometimes an element <disabledText /> inside of the tooltip. Does anybody know what this elemnt is good ...
3
votes
1answer
304 views

Creating FeatureLayer from CIMFeaturelayer in ArcGIS Pro?

I've been asked to develop a strategy to work with Layers that have not yet been added to a Map. From what I can tell, one cannot simply create a new layer as one can with ArcObjects. One must use ...
1
vote
1answer
470 views

How to open shapefile dataset using ArcGIS Pro SDK .NET?

I write AddIn for ArcGIS Pro using ArcGIS Pro sdk. I have a shapefile on my disk(for example "D:\Data\shapefile.shp"). How can I open this featureclass? For gdb geodatabase is very simple using (...
1
vote
0answers
96 views

Are Layer extensions supported in ArcGIS Pro?

Can I store some custom information about layer, project, etc? For instance, featurelayer has no unique ID(I'm not 100% sure, but it seems like that) I want to add unique ID to each layer and store ...
1
vote
1answer
104 views

Which operations must be performed using the Geoprocessing API in ArcGIS Pro?

I want to migrate .NET application from arcobjects to Arc GIS Pro SDK. As I understand some operations such as creating tables and feature classes, creating and modifying fields need to be performed ...
6
votes
0answers
373 views

Programmatically fetching current Add-In version using ArcGIS Pro SDK

The version of a custom ArcGIS Pro SDK Add-In is held in the config.daml of the Add-In project: <AddInInfo id="{some guid}" version="1.0" desktopVersion="1.1.3068"> How do I programmatically ...
4
votes
1answer
84 views

What is the easiest way to purge all installed ArcGIS Pro AddIns?

I ran the BuildAll.cmd in arcgis-pro-sdk-community-samples and ended up with: I need to reverse this temporarily (or permanently and I'll rerun BuildAll.cmd). What's the easiest way to get back to "...
3
votes
3answers
4k views

Executing async method inside relaycommand using ArcGIS Pro SDK and MVVM?

I'm developing a "search tool" dockpane in the ArcGIS Pro SDK using MVVM. I have a button on my dockpane hooked up to a relaycommand in my viewmodel, which trys to call an async method in my model to ...
7
votes
1answer
983 views

Adding new map to current project using ArcGIS Pro .NET SDK?

The new ArcGIS Pro SDK for .NET is currently in beta for ArcGIS Pro 1.1, and I'm having trouble with map/project objects. I can add layers to an existing map, but I can't seem to figure out how to ...
2
votes
2answers
2k views

What is ArcGIS Pro .NET SDK?

What is ArcGIS Pro .NET SDK ? Can I code with ArcObjects?