Integration with Other Applications > Creo Parametric – Windchill Integration > Administration and Configuration > Configuring Windchill for Interoperation with Creo Parametric > Managing CAD Document and WTPart Naming and Numbering > Policy-Managed Naming and Numbering
  
Policy-Managed Naming and Numbering
Creo Parametric supports four policies to determine how newly created objects (either CAD documents or WTParts) are named and numbered. The four policies can be described briefly as follows:
Auto-numbering
The CAD document Number is server-assigned (either out-of-the-box or per your customization)
* 
Customization of autonumbering must ensure that unique numbers are assigned.
If the system parameter PTC_COMMON_NAME is created during creation of the Creo Parametric model file, its value is copied to the CAD document Name. If Common name is left blank in Creo Parametric, the default value for the CAD document Name is copied from the Creo Parametric model name. The file extension (.prt) can be optionally dropped (controlled by a preference).
The WTPart Number is provided by the WTPart Number generator.
The default value for the WTPart Name is copied from the current value of the CAD document Name at the time the WTPart is created. If a file extension is present in the CAD document name, it can be optionally dropped when set in WTPart (controlled by a preference).
In any create and edit user interface, the CAD document and WTPart NAME field is editable.
Auto numbering is the default, out-of-the-box naming and numbering policy. The default system does not allow editing of the number by users.
Name-driven
If the CAD document Number is not set up to be server-assigned, then the CAD document Number is copied from the Creo Parametric file name (the file extension can be dropped—controlled by a preference).
If the system parameter PTC_COMMON_NAME is created during creation of the Creo Parametric model file, its value is copied to the CAD document Name. If Common Name is left blank in Creo Parametric, the default value for the CAD document Name is copied from the Creo Parametric model name (file extension can be dropped – controlled by a preference)
If the WTPart Number is not set up to be server-assigned, then the default value for the WTPart Number is copied from the CAD document Number (the file extension can be dropped—controlled by a preference)
The default value for the WTPart Name is copied from the current value of the CAD document Name at the time the WTPart is created (the file extension can be dropped—controlled by a preference)
In any create and edit user interface, the CAD document and WTPart NAME and NUMBER fields are editable by the user.
Parameter-driven
The CAD document Number is copied from the value of the Creo Parametric designated parameter identified by the preference, Operation > Upload Operation > Upload > Numbering Parameter. (If no preference value is set, Number assignment follows that of the name-driven policy.)
The value for the CAD document Name is copied from the Creo Parametric designated parameter identified by the preference, Operation > Upload Operation > Upload > Naming Parameter.
The value for the WTPart Number is copied from the value of the Windchill attribute identified by the preference, Operation > Auto Associate > Auto Associate Numbering Parameter.
* 
Setting this preference takes precedence over auto-numbering, to facilitate user intent in the auto association action. Auto-numbering rules (if any) are observed if this preference is unset.
The value for the WTPart Name is copied from the value of the Windchill attribute identified by the preference, Operation > Auto Associate > Auto Associate Naming Parameter.
* 
If this preference is unset, name-driven (not autonumbering) policy is observed, even if auto-numbering is rules are otherwise in effect.
Name-driven and parameter-driven policies can only be used in object-driven creation of objects as they require a source object to create a new object. These policies are used during upload (when a new CAD document can be created based on a model file), and auto-associate (when a new WTPart may be created for a CAD document).
* 
If the designated parameters change after the creation of objects, the associations and the names of CAD documents or WTParts do not change.
Custom
The Object Initialization Rules Administrator, available on the Windchill PDMLink or Windchill ProjectLinkUtilities tab, provides a way to specify default values for the attributes of a specific object type. The default values are then used when the Windchill solution creates objects of that type. These specifications are called rules. Each rule can contain default values for one object type. The rules that are set only apply when the Windchill solution that is used to create an object does not set a corresponding value. Rules can be set up to provide auto-number generation, but they can also be set up to provide custom behavior (see Managing CAD Document and WTPart Naming and Numbering). Rules are also set per context, allowing there to be different naming/numbering policies on different contexts.
* 
Regardless of the naming and numbering policy used, when creating a new object, system uniqueness constraints require that the CAD document attributes Number and File Name must both be unique within a Windchill PDMLink site or within each Windchill ProjectLink project.