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

05-18-2021 10:05 AM
Labels (1)
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:


Any help would be great!


0 Kudos
0 Replies