I see that in ArcGIS Pro 3.5 we can now set a spatial definition query on a layer. In the Pro SDK, I am aware that I can do featureLayer.setDefinitionQuery() to set a definition query on the layer. But is there a way to set a spatial definition query on the feature layer from the sdk? I am unable to find such a method in the API reference docs.
@SelimDissem @UmaHarano @Wolf @CharlesMacleod
Solved! Go to Solution.
Hi @MK13
Check out this snippet: Querying a feature layer with a spatial filter
Please let me know if you have any questions about this -
Uma
Hi @MK13
Check out this snippet: Querying a feature layer with a spatial filter
Please let me know if you have any questions about this -
Uma
Uma, that works perfectly. Thank you.