替代篩選組態檔案範例
配置替代「選項」篩選行為的現成檔案如下:
<?xml version="1.0" encoding="UTF-8"?>
<FilterStrategy handler="com.ptc.windchill.option.filter.DefaultFilterStrategyHandler">
<FilterNode type="wt.option.ExpressionAssignable">
<ExpressionPolicy advanced="true" mode="STANDARD,UNDEFINED"/>
</FilterNode>
<FilterNode type="wt.option.ChoiceMappable">
<ExpressionPolicy advanced="false" mode="STANDARD,UNDEFINED"/>
</FilterNode>
</FilterStrategy>
請注意,與標準篩選模式之間的唯一差異就是,如果運算式包含未定義的選擇或其評估為 false,會將篩選器節點篩選出來。
這是否有幫助?