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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Downoading CAD Document Primary Content through API

Alexa
12-Amethyst

Downoading CAD Document Primary Content through API

How can I download primary content throug API? We are building an internal tool and are trying to extract EPM Document primary content and metadata from Windchilll PDMLink 13.

We've tried with REST API, but could only extract metadata, without primary content.

Can anyone point me to the right API that can be used for this purpose?

We are also planning to create CAD Documents/Upload Primary content to them, so that is also something that we need to work on. 
Any kind of advice will help.

3 REPLIES 3
avillanueva
22-Sapphire II
(To:Alexa)

I've written custom custom JSP calls that can download content via parameters.  It does not however interact with primary content of EPMDocuments but can download attachments, WVS data and stuff from WTDocuments. Curious what CAD format you are working with for EPMDocuments. I would recommend using a WGM or Creo Integration if its Creo data for a number of reasons. There is a reason that you cannot download Creo data directly from Windchill and must go through a workspace. The process updates a number of critical things like filenames and internals references. These would all break or not get updated if you upload directly. 

Alexa
12-Amethyst
(To:avillanueva)

Hi @avillanueva, we are working with PTC Creo CAD format, and we want to mass migrate then to new Windchill system.

We are trying to find most effective way to download them from source and upload them (create new EPM Documents) to target Windchill without using Creo (with proetoolkit) to perform the migration, since it would slow the process by an order of magnitude.

@Alexa 

 

I wrote a tool that downloads the primary content of CAD data. It currently downloads the latest rev.iteration that is not checked out and it does the entire dB. 400 GB took under 3 hrs to run so not too bad.

 

I was requested to write the tool to also put the cad data into a Windows OS folder structure that mirrors the Windchill folder structure so the tool does that too.

 

I also have download tools that run from a custom JSP in Windchill that can be modified to download whatever is required.  I’d need the requirements of course but all is doable.

 

David

Announcements

Top Tags