The <FolderCondition> Element
The <FolderCondition> element specifies an individual folder location in which you want to select (or not select) CAD Documents.
Attribute
Definition and Usage
Context
This attribute specifies the product context (including organization) for which the parts have to be created.
Operator
This attribute specifies an assignment operator that connects the Lookup attribute to the Value attribute.
Value
This attribute specifies the full path to the folder location.
Value: “Root Folder/Some_location/”
Values:
“equal”-indicates that selected CAD Documents must have a location that is equal to the specified value.
“notEqual”-indicates that selected CAD Documents must have a location that is not equal to the specified value.
Usage Example
The following <FolderCondition> statement specifies that the system should select any CAD Document that does not have folder location of “/Default/Design”. Additionally the <FolderCondition> statement specifies that corresponding parts should be created in “someProduct” context in the “SomeOrg” organization.
<FolderCondition Operator="notEqual" Value="/Default/Design"
Context="/wt.inf.container.OrgContainer=SomeOrg/
wt.pdmlink.PDMLinkProduct=someProduct"/>
Isto foi útil?