This script allows you to mark in the active view, depending on the open view, the marking process differs:
If the specification is open, then all elements included in the table and suitable for the selected parameter are marked.
If a 3D / 2D view is open, then after setting the required values in an open form, you will be prompted to select the elements that need to be labeled.