Администрирование предприятия > Утилита "Создание детали" > Using Elements to Create XML Scripts > Product Item Specification > The <PISpec> Element
  
The <PISpec> Element
The <PISpec> element is a container in which one or more <PICriteria> elements reside. The <PISpec> element uses the following attribute.
Attribute
Definition and Usage
CriteriaJoin
The <PISpec> element can contain multiple <PICriteria> statements. This attribute specifies if the system selects CAD Documents that meet all of the criteria or any of the criteria.
Values:
“And” — the system only selects CAD Documents that meet ALL of the criteria specified in the <PICriteria> elements.
“Or” — the system selects CAD Documents that meet ANY of the conditions specified in the <PICriteria> elements.
Usage Example
The following <PISpec> statement specifies that the system should select CAD Documents that meet any of the conditions contained with in multiple <PICriteria> elements.
<PISpec CriteriaJoin= "Or">
.
.
</PISpec>