Administración de la empresa > Utilidad de creación de artículos > Using Elements to Create XML Scripts > Product Item Specification > The <PICondition> Element
  
The <PICondition> Element
The <PICondition> tag contains the individual conditions under which a particular product item should be selected. The <PICondition> element has the following attributes.
Attribute
Definition and Usage
Lookup
This attribute indicates whether the <PICondition> element “looks up” an attribute name or a type definition.
Values:
“name”--indicates that the focus of the <PICondition> element is an attribute name.
“typeahead”--indicates that the focus of the <PICondition> element is a type definition.
Operator
This attribute specifies an assignment operator that connects the Lookup attribute to the Value attribute.
Values:
“equal”--indicates that selected CAD Documents must have a name or type definition that is equal to the specified value.
“notEqual”--indicates that selected CAD Documents must have a name or type definition that is not equal to the specified value.
Value
This attribute specifies the value to a “name” or “type_def” type.
Values:
If the Lookup attribute is set to “name”, then the expected value is a PI attribute name in quotes.
If the Lookup attribute is set to “type_def”, then the expected value is a PI type definition in quotes.
Usage Example
The following <PICondition> statement specifies that the system should select PIs with the name of bishop_b.asm.

<PI’Condition Lookup= "name Operator= "equal">
Value= "bishop_b.asm">