Hello,
I am using the ArcGIS Pro SDK (2.7) where I want to create a CoreHost Application that (amongst other things) can retreive symbology information from layers.
In ArcGIS Desktop (ArcMap), if I remember correctly, symbology information could be retreived from the .mxd project file.
Using an AddIn and ArcGIS.Desktop.Mapping namespace I was able to retreive symbology information, but since my goal is to do that in a standalone application this is not proper way.
My question is if it is possible to access the .aprx file and from there on get the symoblogy definitions of apparent layers.
I have already looked into the ArcGIS.Core.CIM Namespace which I think is the way to start (especially in the CIMGISProject class), but I could not find a proper way to built my CoreHost Application around that.
Many thanks in advance!
Kai
Solved! Go to Solution.
This can only be done via Arcpy. Corehost supports access to GDB and Geometry only.
This can only be done via Arcpy. Corehost supports access to GDB and Geometry only.