I am doing a Migration from Arcmap to GIS PRO and I am trying to replace arcmap with new interface or corresponding code.
I am new to GIS and GIS pro. What is the correct way to replace Arcmap in GIS pro
Error:
Error CS0103 The name 'Arcmap' does not exist in the current context
Here is the Code examples
Arcmap.FocusMap.AddLayer((ESRI.ArcGIS.Carto.ILayer)ctfl); Arcmap.ActiveView.Refresh();
What I have tried:
IMxDocument document;
document.ActiveView.Refresh IMxDocument mxdoc = ArcMap.Application.Document as IMxDocument;
but I keep getting the same error cannot find ArcMap.
I tried adding the arcmap and arcmapUI reference
Hi,
There is no one way of migrating ArcMap application to ArcGIS Pro add-in.
There is official Esri page for this:
https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Migrating-to-ArcGIS-Pro
Similar questions and discussions you can find here:
ArcMap addin migration to Pro - Esri Community
porting C#.net ArcMap add-ins to ArcGIS Pro Add-in... - Esri Community
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.