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).

Topics relating to the new ArcGIS Pro 1.x .NET SDK (C# and Visual Basic).

https://pro.arcgis.com/en/pro-app/sdk/

82 questions
2
votes
0 answers

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 API reference have no guidance on the property's…
Soulis
  • 83
  • 7
1
vote
1 answer

Increasing the efficiency of creating random points inside polygons

My code creates random points within polygons using the ArcGIS Pro 3 SDK by creating a random x and y within the extent of the polygon (using a snippet from Esri's Constructing Geometries sample), then checking to see if that point is inside the…
kenbuja
  • 5,700
  • 2
  • 18
  • 29
1
vote
0 answers

Editbox caption disappears when datatype not set to string

I am working on a plugin to ArcGIS Pro using the ArcGIS Pro SDK. In working on the config.daml, I have created two edit boxes. One is using a datatype of int64 and the other of type string. Below is their entry under the controls portion of the…
1
vote
0 answers

ArcGIS Pro SDK EditBox update on Project Change

I have an EditBox displaying the ArcGIS Pro project path. When I open a different project, the EditBox does not update with the new project path. internal class ProjectPathEditBox : ArcGIS.Desktop.Framework.Contracts.EditBox { public…
1
vote
1 answer

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) This works. Does anyone know the Python syntax…
1
vote
1 answer

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.
Dowlers
  • 2,334
  • 19
  • 28
1
vote
1 answer

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 ExecuteToolAsync() { var valueArray = await QueuedTask.Run(() => { // Creates a 8000-meter buffer around the geometry object // null…
osman
  • 193
  • 15
1
vote
1 answer

daml: in ToolTip

I have found several examples for how to define tooltips in a config.daml file. There is sometimes an element inside of the tooltip. Does anybody know what this elemnt is good for? Example:
scher
  • 307
  • 1
  • 8
1
vote
0 answers

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 this information in aprx project file. Can I do it…
Pavel Butusov
  • 168
  • 11
0
votes
0 answers

I can't search for a row that I just added to a table

I open a table dataset, create a row, and then search for that row, but the row isn't found. Why not? Using tblAttachments As Table = gdb.OpenDataset(Of Table)("Attachments") Using rb As RowBuffer = tblAttachments.CreateRowBuffer() …