# FILTER Command [GstarCAD 2019](Help%20System/GSTARCAD/2019/Index.md) → [Commands](Help%20System/GSTARCAD/2019/Commands/(Commands).md) → [F](Help%20System/GSTARCAD/2019/Commands/F/(F).md) The FILTER command is used to create a list, objects in it must meet to certain conditions. ## Command Access: > **Command:** FILTER (or 'filter for transparent use) ## Dialog Box Description: ![](Help%20System/GSTARCAD/2019/assets/GCAD_GCR/images/FILTER-1.png) The Object Selection Filter Dialog Box is displayed. **Filter Property List:** Display a list of the filter properties of the current filter. The current filter is the filter selected 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. > > You have to pair and balance the logical operators 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. Relative operators such as \< (less than) or \> (greater than) can be used in the filter parameters. > > **Select:** Display a Dialog Box listing all items of the specified type in the drawing. Select the items from the list to filter. > > **Add to List:**Add the current Select Filter property to the filter list. Filter properties added to the unnamed filter remain available during the current work session unless they are deleted manually. > > **Substitute:**Use the property displayed in Select Filter to replace the one selected in the filter property list. > > **Add Selected Object:**Add one selected object in the drawing to the filter list. **Edit Item:** Select a filter property and move it into the Select Filter area to edit. The selected filter property will be replaced by the new edited filter. **Delete:**Delete a selected filter property from the current filter. **Clear List:**Delete all the filter properties from the current filter. **Named Filters:** Display, save, and delete filters. **Apply:**Exit the Dialog Box. You can create a selection set follow the Select Objects promts. And the current filter is used on the selected objects. ## Other versions with matching text [GstarCAD 2016](../../../2016/Commands/F/FILTER%20Command.md) · [GstarCAD 2017](../../../2017/Commands/F/FILTER%20Command.md) · [GstarCAD 2018](Help%20System/GSTARCAD/2018/Commands/F/FILTER%20Command.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/F/FILTER%20Command.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/Commands/F/FILTER%20Command.md)