Select to view content in your preferred language

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

411
1
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
1 Reply
JamesShaefferUSDA
New Contributor II

I would also like to see if this is possible. Thanks.

0 Kudos