• Home
  • Blog
  • AutoCAD
  • Making smart selection filers using FILTER command of AutoCAD

Making smart selection filers using FILTER command of AutoCAD

Updated on February 23, 2025 | By Jaiprakash Pandey | Category AutoCAD | min reading time


AutoCAD essentials for beginners free course

Get AutoCAD essentials beginners course completely for free and get a certificate when you finish the course.

No credit card required, lifetime access

Selecting objects using normal AutoCAD selection techniques is fairly simple, but for very large drawing files the selection may often become a tedious and error-prone task.

So, this is where you can use Filter command of AutoCAD to make selections selections quickly.

Although you can use “natural” filters like Layers and Quickselect but when you require even more specific tool then Object selection filter can be used which can ease your filtering task to a great extent.

This tip is especially useful if you don’t have LISP routine for creating complex selections.

You can create this filter and save it for future use without ever requiring LISP.

To explain this feature I will use a sample drawing containing four layers Layer 0, layer 1, layer 2 and layer 3. Circles of radius 1 and 2 units on different layers and Rectangles on different layers.

You can download the sample drawing file used in this tutorial here.

Scenario 1

Making a filter that selects all circles of layer 1 with radius 2 units.

Type FILTER in the command line and press enter, the Object Selection Filters window will appear.

Now select Layer from Select Filter drop-down menu.

The Select button, next to drop down menu will get highlighted.

Click on the Select button and pick layer 1 from it.

Click on Add to List button to add this filter criterion to our filter box, now we need to add other criteria of the radius.

Select circle radius from Select filter drop-down menu.

You will notice that drop-down menu next to X gets highlighted and you can select operators from them like greater than, less than equal etc.

70 lessons| Easy Level

If you are absolute beginner of AutoCAD then you can get started right from scratch using this free course.

In this case, we want to select circle with radius equal to 2 hence select Equal operator.

Enter the value of radius i.e. 2 in the box next to operator drop-down menu and click on add to list button again.

Now click apply then select entire drawing and press enter you will notice that only objects which meet these criteria are selected.

Grouping operator

At the end of Select Filter drop-down menu you will find grouping operators **begin AND, ** end AND, ** begin OR, **end OR and also some other operators like XOR and NOT these operators are used to make complex selections in AutoCAD objects.

These operators are always used in pairs where each begin operator must end with its equivalent end operator as shown below.

**begin AND

DATA 1

DATA 2

**end AND

In the above example, if you use AND operator then the filter will be created if both the criteria of DATA 1 and DATA 2 match.

If OR operator is used then the filter will include objects that fall in either of the criteria.

In the next example, I will make another filter using these grouping operators.

Scenario 2

Making a filter that selects all circles on layer 2 with radius two unit and all rectangles of layer 3.

Add the following operators in the same order as listed below using the Select Filter drop-down menu.

**Begin OR

**Begin AND

Layer = Layer 2

Object = Circle


**End AND

**Begin AND

Object = Circle

Circle radius = 2.00


**End AND

**Begin AND

Layer = Layer 3

Object = Polyline


**End AND

**End OR

Now in this list of operators, you will notice that it starts and ends with OR operator (marked red) and in between, we have three criteria.

All the inner criteria start and end with AND operator.

The first criteria marked with green color will include all the circles on layer 2.

The second criteria marked with blue color will include all the circles with radius 2.

70 lessons| Easy Level

If you are absolute beginner of AutoCAD then you can get started right from scratch using this free course.

The third criteria marked with black color will include all rectangles of layer 3 as the only polyline in the geometry is the rectangle.

Final filter will comprise of all these criteria because we have used OR operator to open and close this filter list.

All objects meeting any of the three criteria will get selected and our final selection will look like this.

Saving object filters

After making so much effort in creating this filter you would definitely like to save it for future use.

To save this filter enter the name in the blank box next to save as in the named filter panel of Object selection filter window and click on Save As, the filter will be saved in the current drawing.

Summary

So, that's how you can create smart filters in AutoCAD and reuse them to make selections whenever required.

Do let me know in the comments area down below if you have questions.


Disclosure: Our content is supported by readers like you. We might earn a commission from affiliated products you buy from links placed on our website without any extra cost to you. This does not influence our content recommendations or editorial process. Learn more about our affiliate process here.

About the Author

Jaiprakash Pandey is the published author of “Practical AutoCAD book” by Packt publication he is also an Autodesk AutoCAD certified professional and Autodesk expert elite community. He has been delivering CAD training to corporate clients for more than 8 years and his clients include Steel, Power, Automobile industries and also government organizations, fortune 500 companies and the military.

Continue Learning...

Learn CAD and engineering tools for free

Get all the free courses and eBooks with lifetime access. Also, get a certificate when you finish the courses.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}