Enterprise Administration > Windchill Data Loading > Creating Load Methods > Creating New Methods for Loading > Creating a Part Class
  
Creating a Part Class
PTC supports two types of customization of the part class: a type and a subtype.
If you add a subtype or global attributes to WTPart, the existing load methods do not require any customization. However, if you add a type customization to WTPart, a new load method is required.
To customize wt.part.LoadPart to work with new modeled subclasses of WTPart, search LoadPart for the factory method that creates the new instance of the part.
The statement is as follows:
part = WTPart.newWTPart in the constructPart method
Change this statement to handle the new modeled class. You must also search for the applyHardAttributes method and add the setting of any modeled attributes.
* 
wt.part.LoadPart can handle loading out-of-sequence iterations and versions. For information about the beginCreateWTPart class, see the JavaDoc.