Select to view content in your preferred language

Can I access display filters through arcpy?

385
2
Jump to solution
03-30-2023 05:56 PM
AndrewGilbert
New Contributor III

I want to access a layer's display filters, as in Symbology > Display filters, through arcpy. Is this possible?

The CIM spec doesn't seem to include display filters, and definition queries will not work in this case.

 

0 Kudos
1 Solution

Accepted Solutions
ShaunWalbridge
Esri Regular Contributor

What kind of layer are you working with? I would expect to have it accessible via the CIM, does https://github.com/Esri/cim-spec/blob/1429b1bbba551c1614989a5e50552521d780bcd6/docs/v3/CIMVectorLaye... look like the kind of layer you have?

View solution in original post

2 Replies
ShaunWalbridge
Esri Regular Contributor

What kind of layer are you working with? I would expect to have it accessible via the CIM, does https://github.com/Esri/cim-spec/blob/1429b1bbba551c1614989a5e50552521d780bcd6/docs/v3/CIMVectorLaye... look like the kind of layer you have?

AndrewGilbert
New Contributor III

Ah yes, that's just what I need. Apparently I was searching the wrong area of the CIM spec. Thanks!