# FILTER Command [GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [F](%28F%29.md) ## Function Description: > Create a list of requirements that an object must meet to be included in a selection set **Command Entry:** > FILTER (or *'filter* for transparent use) > > The Object Selection Filter Dialog Box is displayed if you execute filter Command ## Dialog Box Description: > **Filter Property List:** Display a list of the filter properties that compose the current filter. The current filter is the filter that you select in Current in the Named Filters area. > > **Select Filter:** Add filter properties to the current filter. > > **Object Types and Logical Operators:** List object types that you can filter and logical operators (AND, OR, XOR, and NOT) for grouping the filter expressions. > > If you use logical operators, make sure that you pair and balance them correctly in the filter list. The number of operands you can enclose depends on the operation. > > <table> > <colgroup><col><col><col> > </colgroup><tbody> > <tr> > <th colspan="3"> > <p>Logical Operators</p></th> > </tr> > <tr> > <th> > <p>Starting Operator</p></th> > <th> > <p>Encloses</p></th> > <th> > <p>Ending Operator</p></th> > </tr> > <tr> > <td> > <p>Begin AND</p></td> > <td> > <p>One or more operands</p></td> > <td> > <p>End AND</p></td> > </tr> > <tr> > <td> > <p>Begin OR</p></td> > <td> > <p>One or more operands</p></td> > <td> > <p>End OR</p></td> > </tr> > <tr> > <td> > <p>Begin XOR</p></td> > <td> > <p>Two operands</p></td> > <td> > <p>End XOR</p></td> > </tr> > <tr> > <td> > <p>Begin NOT</p></td> > <td> > <p>One operand</p></td> > <td> > <p>End NOT</p></td> > </tr> > </tbody> > </table> > > **X,Y,Z:** Define additional filter parameters depending on the object. For example, if you select Line Start, you can enter the > *X*, *Y*, and *Z* coordinate values that you want to filter. > > **Select:** > Display a Dialog Box listing all items of the specified type in the drawing. Select the items to filter. For example, if you select the object type Color, Select displays a list of colors to choose for the filter. > > **Add to List:** > Add the current Select Filter property to the filter list. Filter properties that you add to the unnamed filter remain available during the current work session unless you manually delete them. > > **Substitute:** > Replace the filter property selected in the filter property list with the one displayed in Select Filter. > > **Add Selected Object:** > Add one selected object in the drawing to the filter list. > > **Edit Item:** Move the selected filter property into the Select Filter area for editing. To edit a filter property, select it and choose Edit Item. Edit the filter property and choose Substitute. The edited filter replaces the selected filter property. > > **Delete:** Delete a selected filter property from the current filter. > > **Clear List:** Delete all the listed properties from the current filter. > > **Named Filters:** Display, save, and delete filters. > > **Apply:** Exit the Dialog Box and displays the Select Objects prompt, where you create a selection set. The current filter is used on the objects you select. ## Other versions with matching text [GstarCAD 2012](../../../2012/Commands/F/FILTER%20Command.md)