Loading Documents that Are Subtypes of an Out-of-the-box Type
Following is an example of how to load documents that are subtypes of an out-of-the-box type.
This example assumes the following:
• A library called MyLib exists and contain a folder called Folder1.
• A subtype of the out-of-the-box reference document called SubOfRef was created with two attributes:
◦ MBool, a boolean value
◦ MString, a string
• An organization called MyOrg exists.
Given these assumptions, the load can be performed using the following command:
windchill wt.load.LoadFromFile -d C:\Path\To\MyFile.xml -u wcadmin
-p wcadmin -CONT_PATH \"/wt.inf.container.OrgContainer=MyOrg/wt.inf.
library.WTLibrary=MyLib\"