Using the PCB Filter, how can I select a single component easily (not its primivites)?
Every now and then I have a complex component (such as an on-board PCB antenna which consists of copper traces, pads, keep-out regions, etc.) that I need to select by itself in order to lock/unlock primitives, for example. The problem I run into is once I've unlocked primitives, selecting the component again becomes a challenge due to non-component items (vias, polygons, etc.) scattered around that prevent selecting with a rectangle or lasso easily. Shelving polygons, hiding objects such as vias, and so on works, but is time-consuming.
(IsComponent Or IsComponentBody) and InComponent('AE1') is an expression that worked, but is there a simpler one?
(Altium Designer 20.1)