Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation 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