The <PIVCondition> Element
The <PIVCondition> tag contains the individual conditions under which a particular product item version should be selected.
Attribute
Definition and Usage
Version
This attribute specifies whether the <PIVCondition> element selects all versions, the latest version, or a specific version of a CAD Document.
Values:
“latest”—indicates that the <PIVCondition> element selects the latest version.
“all”— indicates that the <PIVCondition> element selects all versions of a CAD Document.
“specific”— indicates that the <PIVCondition> element select CAD Documents with a specific version value.
* 
If the Version attribute is set to “specific,” then you must also provide the Operator and Value attributes.
Operator
This attribute specifies an assignment operator.
Values:
“equal”—indicates that selected CAD Documents must have criteria that is equal to the specified value.
“notEqual”— indicates that selected CAD Documents must have criteria that is not equal to the specified value.
“greaterThan”— indicates that selected CAD Documents must have criteria that is greater than the specified value.
“greaterThanOrEqual”— indicates that selected CAD Documents must have criteria that is greater than or equal to the specified value.
“lessThan”— indicates that selected CAD Documents must have criteria that is less than the specified value.
“lessThanOrEqual”— indicates that selected CAD Documents must have criteria that is less than or equal to the specified value.
Value
This attribute Indicates the version value you want to search for.
Value: Any valid version is an acceptable value.
Usage Example
The following <PIVCondition> statement specifies that the system should select the latest version, specific and all.
<PIVCondition Version= "Latest"/>
<PIVCondition Version= "specific" Value=”A”/>
<PIVCondition Version= "all "/>
Was this helpful?