Filtering on Attributes
Use this process to create a filter for a parts list based on the attributes of the items it contains.
1. Open the parts list to be filtered and navigate to the Structure tab of its information page.
2. Click the Edit Filter icon in the Structure tab toolbar. The Edit Filter window is displayed.
3. Select the Attribute Filter tab.
* 
If no expressions have been defined the Attribute Query Expression window is immediately displayed for defining new query expressions. If attribute queries have been previously defined they are shown in the expression table in the Attribute Filter tab and you must click the Add button to create a new attribute query expression.
4. Use the drop-down menu in the Type field to select a item type (parts list, part or parts list item) to include in the attribute query expression. Attribute filtering expressions apply to the selected item type and its sub types.
* 
Attribute filtering expressions written for a selected item type will only return items of that type and sub types even if the same attribute name applies to other item types in the parts list
Item types for which no attribute filtering expressions have been written will always be displayed in the parts list.
* 
You can use the Service Parts preference Excluded Part and Dynamic Document Subtypes to restrict the list of item types provided in the Type field.
For more information, see Setting Service Preferences
5. Use the drop-down menu in the Criteria field to select the attribute to filter by. The available attributes are dependent upon the item type selected in the Type field. The attribute list includes standard Windchill attributes and those created by your system administrator.
* 
You can make more than one choice from the Criteria menu prior to completing the attribute query expression. All choices appear as individual comparisons in separate rows. Expressions can be deleted by clicking on the Remove Expression icon.
For more information about using multiple comparisons in a single attribute query expression, see Using Multiple Attribute Filter Expressions.
6. Select an operator from the drop-down menu to the right of the attribute. The list of operators depends on the attribute selected for the comparison and can include one or more of the following:
Operator
Definition
=
Equal to
Not equal to
Greater than
Greater than or equal to
Less than
Less than or equal to
Not Set
The attribute value is not set, its value is blank.
7. Enter an attribute value to the right of the operator.
* 
Text values are case insensitive. Use wildcards for text entries (* for a multiple character match and ? for matching a single character) in the value field to include a larger number of matching items.
* 
Some attributes require the selection of a choice from a drop-down menu.
Other attributes provide the ability to search for a value by clicking a find icon.
8. Click Apply to display the query expression in the Attribute Filter tab and continue defining query expressions using the Attribute Query Expression window.
or
Click OK to display the query expression in the Attribute Filter tab and close the Attribute Query Expression window.
The filter is summarized in the expressions list.
9. Use the Add button to define additional expressions for the filter.
Use the Edit and Remove buttons to make changes to the current list of expressions.
10. Click OK to close the Edit Filter window and apply the filter the parts list.
You can access a read-only summary of the attribute filter in the Current Filter window.
Было ли это полезно?