Pro SDK - Operate on feature layer without adding to map?

175
0
05-18-2021 10:05 AM
Labels (1)
MichaelSnook
Occasional Contributor III

Hi All

I'm sure this is possible I just can't seem to figure out how...previously with ArcObjects I was able to operate on existing feature classes via layer files (keeping definition queries intact) outside of a map.  Is this possible with Pro?   The thing I keep running into is:

LayerFactory.Instance.CreateFeatureLayer -- but this requires a map instance

vs ArcObjects:

 (IFeatureLayer)pGxLyr.Layer

Any help would be great!

Thanks!

0 Kudos
0 Replies