Is there a way to use the built-in Coordinate System or Spatial Reference dialog picker from an Add-in?

3392
1
Jump to solution
11-06-2015 11:23 AM
JosephMcCausland
Esri Contributor

I have an add-in where I want to display a dialog to get the desired spatial reference from the user.  In the ArcGIS Desktop .NET SDK I would use ESRI.ArcGIS.CatalogUI.SpatialReferenceDialog.  Does the Pro 1.1 SDK have something similar?

0 Kudos
1 Solution

Accepted Solutions
CharlesMacleod
Esri Regular Contributor

Hi Joseph, I wrote one for you.

Please go to the Pro community samples on the github at https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geometry/CoordinateSystemDialog

There is no API call currently to get the list of SpatialReferences so I had to use arcpy.ListSpatialReferences.

We will look at adding that capability into the DotNET API for Pro at 1.3

View solution in original post

0 Kudos
1 Reply
CharlesMacleod
Esri Regular Contributor

Hi Joseph, I wrote one for you.

Please go to the Pro community samples on the github at https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Geometry/CoordinateSystemDialog

There is no API call currently to get the list of SpatialReferences so I had to use arcpy.ListSpatialReferences.

We will look at adding that capability into the DotNET API for Pro at 1.3

0 Kudos