Electrical Design > ECAD > Importing ECAD Databases > Selective Import of Holes > To Define Rules for the Filtration of Holes by Diameters
To Define Rules for the Filtration of Holes by Diameters
1. Click File > Open. The File Open dialog box opens.
2. Select an ECAD IDF (*.emn) file consisting of a board outline with holes.
3. Click the Include ECAD Import Dialog check box.
4. Click OK. The ECAD Input – Board dialog box opens.
5. Select a hole category from the Handle By: list.
* 
Do not select Diameter in the Handle By list. You cannot set filtration rules for this category.
6. Select an import option for the selected category of holes from Creation Method.
* 
Do not select Filter Out in Creation Method. For Filter Out, Filter displays N/A as the filtration state.
7. If the Filter column displays the state of filtration for the selected hole category as Not defined, right-click in Hole handling, and select Add/Modify Diameter Filter. The Holes Diameter Filter Out dialog box opens.
8. Select one of the following filtration rules from the Condition list in the Define more rules section and specify a value in Hole Diameter:
Is greater than—Filters out holes with diameters larger than the specified value. This is the default rule.
Is equal or greater than—Filters out holes with diameters equal to or larger than the specified value.
Is between—Filters out holes with diameter that are within the specified range. Specify the range of diameter values in the additional text box.
Is less than—Filters out holes with diameters lesser than the specified value.
Is equal or less than—Filters out holes with diameters equal to or lesser than the specified value.
Is equal to—Filters out holes with diameters equal to the specified value.
9. Click Add to list to add the filtration rule with its corresponding value to the Filter Out holes that match these rules list. Save Filter and Remove All are available only when you add a rule to this list.
10. Define one or more filtration rules, individually adding a rule with its corresponding diameter value, to the Filter Out holes that match these rules list. You can set a rule multiple times for different diameter values or use all rules.
The Filter Out holes that match these rules list displays the rules and their values as separate rows. You can perform the following additional tasks, if required:
Click Load Filter and use the Open dialog box to load filtration rules that you have predefined in a text file.  
Click Save Filter to save the filtration rules in Filter Out holes that match these rules to the rules_list.txt file located in the working directory.
Select one or more filtration rules in the Filter Out holes that match these rules list and click Remove to remove one or more rules. Remove and Change are available only when you select a rule in this list.
Click Remove All to remove all the filter rules listed in the Filter Out holes that match these rules list.
The Remove Rules dialog box prompts you to confirm the deletion of the filter rules when you click Remove or Remove All.
To change a rule, select it in Filter Out holes that match these rules, select another rule from the Condition list, change the Hole Diameter value if required, and click Change.
* 
Change is not available for the multiple selection of filtration rules.
11. Click OK. You are returned to the ECAD Input – Board dialog box. Filter in Hole handling displays Defined as the state of filtration for the selected hole category.
12. Click OK in the ECAD Input – Board dialog box. Holes that match any or all the defined filtration rules are filtered out.