Enterprise Administration > Part Creation Utility > Using Elements to Create XML Scripts > Putting it All Together – Applying Structure and Syntax
Putting it All Together – Applying Structure and Syntax
This section explains how the part selection criteria is structured. You can now start to put the structure and the syntax together into your own part selection criteria.
By default, the Part Creation select specification file is set up to create WTParts for each Creo Parametric part and assembly that the system migrates. The default part selection criteria for creating WTParts is at:
codebase\com\ptc\windchill\pdmlink\proimigration\server\xml
To create customized part selection criteria, you must modify this file. This is an XML file and can be edited with a standard text editor. When opened, the part selection criteria should look as follows:
<specifier>

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

<PISpec CriteriaJoin="Or">

<PICriteria ConditionJoin="Or">

<PICondition Lookup="type_def”

Operator="equal" Value="Part"/>

<PICondition Lookup="type_def”

Operator="equal" Value="Assembly"/>

</PICriteria>

</PISpec>

</PartAction>

</specifier>

<?xml version="1.0 encoding="UTF-8"?>

<!--
* 
When editing this file, keep in mind that the <PartAction> element can contain the following combinations of elements:
FolderSpec, PISpec, PIVSpec
FolderSpec, PISpec
FolderSpec, PIVSpec, PIVSpec
FolderSpec
PISpec
PIVSpec
For more information, refer to the following topics:
Was this helpful?