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
0
votes
0answers
7 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
15 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 ...
1
vote
0answers
13 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 ...
0
votes
0answers
20 views

C# - ArcGIS Pro Add-in - Open Dialog

I am going add to add a button to show Add layer dialogue to ArcGIS pro Add-in. All works fine but my problem is although I have set the initial location of open dialog but dialog open in last open ...
1
vote
0answers
27 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
0answers
21 views

Refreshing gallery using ArcGIS Pro SDK?

I have a custom tab with an inline gallery of web maps. The items displayed in the gallery are dependent on a userid that is entered in a window on the same tab. The userid is stored as a Project ...
0
votes
0answers
30 views

Export Mapview to an image based on user drawn sketch ArcGIS Pro SDK 2.3

I am learning ArcGIS pro sdk with no prior experience in c#. Here is my code that exports the mapview to jpg, but I want it to export only the area that the user's rectangle covers. protected ...
0
votes
1answer
95 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
34 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
122 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
241 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
86 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
187 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
50 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
87 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
107 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
471 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 ...
2
votes
3answers
295 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
392 views

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

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
275 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
104 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
164 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
213 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
43 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
214 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
329 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
94 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
93 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 ...
5
votes
0answers
306 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
81 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
837 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 ...
3
votes
2answers
2k views

What is ArcGIS Pro .NET SDK?

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