Retreive symbology information using CoreHost

826
1
Jump to solution
05-18-2021 07:15 AM
Kai_DA
by
New Contributor II

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

0 Kudos
1 Solution

Accepted Solutions
CharlesMacleod
Esri Regular Contributor

This can only be done via Arcpy. Corehost supports access to GDB and Geometry only.

View solution in original post

1 Reply
CharlesMacleod
Esri Regular Contributor

This can only be done via Arcpy. Corehost supports access to GDB and Geometry only.