Isn't it Historical <> 1?
parcels = r"%s_Layer\Parcels"%(name)
parcels = r"%s_Layer\Tax Parcels"%(name)
arcpy.management.SelectLayerByAttribute(parcels, "NEW_SELECTION", """Type = 7 AND Historical = 0""")
i keep throwing errors on it.ERROR 000732: Layer Name or Table View: Dataset ParcelFabric_Layer\Parcels does not exist or is not supportedFailed to execute (SelectLayerByAttribute).
Did you figure this out? I'm getting similar messages and have tried editing in the script but haven't found the right combination yet.
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.