Filter Selection

The documents to be processed can be selected by using a filter. To use the filtering options available in the Filter Selections dialog box, clear the existing document selection applied in the Batch Operation dialog box first. Then define the desired filters to select the desired documents using the options available in the Filter Selections dialog box.



The file types determines the documents to be selected when the filter has been applied.

Parts Using the Parts option, the selection filters defined in the Filter Selections dialog box are used to select/clear selection of the SOLIDWORKS part documents in the CUSTOMTOOLS batch operation.
Only sheet metal Limit selection to apply only to the sheet metal parts. When you have this option selected, all parts excluding the sheet metal ones are ignored while selecting the documents based on the filter defined.
Assemblies Using the Assemblies option, the selection filters defined in the Filter Selections dialog box are used to select/clear selection of the SOLIDWORKS assembly documents in the CUSTOMTOOLS batch operation.
Drawings referencing part Using the Drawings referencing part option, the selection filters defined in the Filter Selections dialog box are used to select/clear selection of the SOLIDWORKS drawing documents in the CUSTOMTOOLS batch operation that are referencing to the SOLIDWOKS part documents.
Only sheet metal Limit selection to apply only to the drawings created from the sheet metal parts. When you have this option selected, all drawings excluding the ones created from the sheet metal parts are ignored while selecting the documents based on the filter defined.
Drawings referencing assembly Using the Drawings referencing assembly option, the selection filters defined in the Filter Selections dialog box are used to select/clear selection of the SOLIDWORKS drawing documents in the CUSTOMTOOLS batch operation that are referencing to the SOLIDWOKS assembly documents.

When using the Custom properties based filters, these document type filters should not be used to avoid unexpected issues on the documents' final selection based on the filter set up.

You can filter selection of the documents in a batch operation using the Properties that have the Display in Print/Convert option selected in their settings. The Display in Print/Convert option is located in the Additional Options page of the Property Wizard.

Properties that does not have the Display in Print/Convert option selected, are not shown in the drop-down menu associated to the When column box.

When column Select the Property which value is compared with the search string specified in the has value box.
has value Search string to be looked for from the Property selected in the When column box.
Select or clear file Select this to apply the Property based selection filter to documents on click of the Select or Clear button.
Select or clear referencing drawing Select this to apply the Property based selection filter to referencing drawings on click of the Select or Clear button.
Select Select all documents in the batch operation that meet the conditions defined in the File types options and in the Custom properties options.
Clear Clear selection of the documents in the batch operation that meet the conditions defined in the File types options and in the Custom properties options.

Filtering the Document Selection in the Batch Operation

Before you start:

Before you proceed forward in this example, please ensure that you have the desired batch operation profile for drawings selected and, no documents are already selected in the Batch Operation dialog box. If you do not have a batch operation profile selected or, if you have any document selected in the Batch Operation dialog box, please use the following instructions to clear the existing selection:

  1. Close the Filter Selections dialog box.
  2. Select the desired batch operation profile from the Print Profile tab for batch printing documents and/or from the File Conversion tab for the batch file conversion operation.
  3. Right-click any document in the Select documents to process list and select Clear Selection.

Once the batch operation profile is selected and an existing selection is cleared, click the Filter command to re-enter the Filter Selections dialog box and proceed forward with this example.


Example Case - A Family Car:

Let's assume we have an assembly representing a family car which have five doors. A car have then two doors to the front seats, two doors to the back seats and a door to access the trunk. You have made some changes to the design of the back seat doors and you need to provide the changes to e.g. a sub-contractor who manufactures the doors. So probably you do not want to print all drawings related to an assembly again just because of this minor change.

In this case, the Filter Selections feature in CUSTOMTOOLS Batch Operation is very useful because you can determine the drawings and/or the specific sheets to print by a rule based on the Property value. You may have created another revision of the back doors which have your latest design changes included in so, you can have your Revision property allowed in the Batch Operation by the Display in Print/Convert option and use the revision identifier as a criteria to select the documents in your batch operation.

So let's say the car's primary revision have an identifier A1 so all components including the main assembly itself have revision A1 written into SOLIDWORKS document. Due to your design changes in the back doors, the back doors' revision is now A2.

In this case we use the Custom properties options available in the Filter Selections dialog box. Select Revision from the drop-down menu associated to the When column box and then type A2 into the has value box. As mentioned above, we would like to provide just the new drawings to the sub-contractor so in addition to the Property based filter it is now vice to restrict the document selection to the drawings. To scope this batch operation just to the SOLIDWORKS drawing documents, select also the Select or clear referencing drawing option.

By the filtering rule set up in this example, we select all drawings referencing to the models that have a value A2 written into a Property called Revision.




Send Feedback


Related Topics

Use the Batch Operations dialog box to setup the CUSTOMTOOLS batch operation
Allow Property to be used as a filtering criteria in the property's additional options