Enterprise Administration > Part Creation Utility > Using Elements to Create XML Scripts > Part Selection > The <PartAction> Element
  
The <PartAction> Element
The <PartAction> element is defined as:
Having up to three elements used to filter and select your CAD Documents. These elements are the FolderSpec, the PISpec, and the PIVSpec.
Having at least one element or a combination of several elements. You cannot use any single element more than once in the <PartAction> element.
A tag defining whether the system creates or does not create a part for the CAD documents.
A tag specifying s which class of WTPart to create from the selected CAD Documents
Attribute
Definition and Usage
Create
This attribute specifies whether the part creation tool creates a WTPart for the CAD Documents selected by the <PartAction> element.
Values:
True (default)
False
* 
The default value is True. You must specify the Create attribute in the <PartAction> element when setting the value to False.
Class
This attribute determines the type of WTPart created for the CAD Documents. This is a required attribute. This attribute is used with the End Item attribute.
Value:
wt.part.WTPart
End Item
This attribute specifies whether WTPart for the CAD documents have an EndItem selected by the <PartAction> element.
Values:
True
False (default)
* 
The default value is False. You must specify the EndItem attribute in the <PartAction> element when setting the value to True.
Usage Example
The <PartAction> element criteria creates WTParts of the class “wt.part.WTPart” for CAD Documents. For example,
<specifier>

<PartAction Class="wt.part.WTPart">

.

.

</PartAction>

</specifier>
The <PartAction> element criteria does not create WTParts of the class “wt.part.WTPart” for CAD Documents. For example,
<specifier>

<PartAction Create="False">

.

.

</PartAction>

</specifier>