Enterprise Administration > Windchill Data Loading > Loading Product Objects and Parts: Windchill PDMLink Example > Creating Product Containers > Creating Assemblies > Adding Existing Parts to Another Existing Part in a Product
  
Adding Existing Parts to Another Existing Part in a Product
This example assumes the following:
Part-1 exists in the product MyProduct-1. This part may have been loaded previously or added through the user interface.
ExistingPart-1 and ExistingPart-2 reside in some other product or library.
MyProduct-1 exists in the organization, MyOrg.
The XML data resides in the file DataFile.xml.
Given these assumptions, the load can be performed using the following command:
windchill wt.load.LoadFromFile -d DataFile.xml -u wcadmin
-p wcadmin -CONT_PATH /wt.inf.container.OrgContainer=MyOrg
/wt.pdmlink.PDMLinkProduct=MyProduct-1