cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Windchill Packages Automation creation

MattPat
14-Alexandrite

Windchill Packages Automation creation

Hi,

In my last question, I was asking about export data from Windchill. 

I choose Packages and I was faced with another problem. I want to export only prt and asm files in the latest version and iteration from the product context. What if I have thousands of files? We don't want to add all files manually one by one in Packages wizard. 

The best way will be to write some customization for automatically creating a package from the product folder/context and then manually delivering a zip.

What customization should I write to add/collect many files to the package? It will be great if I can export them automatically to zip.

Unfortunately, I couldn't find anything useful for that on ptc support. 

Thanks in advance

1 REPLY 1
fivig
10-Marble
(To:MattPat)

In simple case, you can write Java application to:

  1. Query objects using Windchill API (what query do you plan to use?)
  2. Create link objects for Package
  3. Export content somewhere using ContentHolder API or manually from a package.
  4. Add action to WTPart context or workflow expression or invoke from console or create Rest API
Announcements


Top Tags