You could write a script to do this. The script would have to create a persistent selection of the objects with symbols on the ActiveDiagram that meet the selection criteria, then process the matching symbols. At the end, delete the persistent selection.
I haven't done this sort of thing myself, but there is a sample script that might help -
"C:\Program Files\SAP\PowerDesigner 16\VB Scripts\CreatePersistentSelection.vbs".