Select to view content in your preferred language

Select related 'parent' features (Python Tool)

138
0
07-12-2024 06:06 AM
Shane_EU
Occasional Contributor

ArcGIS Pro v3.3 Python Tool question:

I have a tool that selects records in the attachments table of a feature class.

How can I automatically select and highlight the corresponding 'parent' features on the map once the attachments table records have been selected?

Below is my tool code for selecting the records: 

Thanks!


selectedRecords = arcpy.management.SelectLayerByAttribute(
in_layer_or_view=attachmentsTable,
selection_type=selectionType,
where_clause=whereClause,
invert_where_clause=None)

0 Replies