Enterprise Administration > Part Creation Utility > Using Elements to Create XML Scripts > Product Item Specification > The <PICriteria> Element
  
The <PICriteria> Element
The <PICriteria> element is a container for all of the individual <PICondition> elements in the <PISpec>. You can create multiple <PICriteria> elements with in the <PISpec> element. The <PICriteria> element uses the following attribute.
Attribute
Definition and Usage
ConditionJoin
The <PICriteria> element can contain multiple <AttrCondition> statements. This attribute specifies if the system selects CAD Documents that meet all of the condition statements or any of the condition statements.
Values:
“And” — the system only selects CAD Documents that meet ALL of the criteria specified in the <AttrCondition> elements.
“Or” — the system selects CAD Documents that meet ANY of the conditions specified in the <AttrCondition> elements.
Usage Example
The following <PICriteria> statement specifies that the system should select CAD Documents that meet any of the conditions contained within multiple <AttrCondition> elements.

<PISpec>
<PICriteria ConditionJoin = “Or”>
.
</PICriteria>
</PISpec>