Skip to main content
1-Visitor
April 13, 2017
Question

Is there a way to auto associate documents(Non CAD docs) with WT parts?

  • April 13, 2017
  • 2 replies
  • 1984 views

Documents here are pdf, word and not CAD docs.

We have custom Engineering specs document template, which is a pdf and looking to have auto association created for these pdf with wt part.

Windchill Customization

2 replies

15-Moonstone
May 26, 2017

Interesting that nobody has responded yet.

NITHYA MANJUNATHAPPA‌,

Are you loading the documents into Windchill as WTDocuments?  If yes, then you would likely use the Reference link.  If you look at the WTPart information page, the link to the document should be created in the "References Documents" table.

2017-05-26_13-00-44.jpg

1-Visitor
November 18, 2020

I'm digging up this old post.
I also want to automatically associate documents (not CAD) to articles.
associating them one by one is much too long and tedious

17-Peridot
October 16, 2023

@Docserta @BenPerry @nmanjunathappa 

Me too. I want to add DescribedBy documents (not CAD documents) to a part. It needs to automated, preferably a python script accessing the OData API.

When creating a part I think you can pass in something like this:

{
 "DefaultUnit":{},
 "EndItem":False,
...
 "Uses@odata.bind":[],
 "DescribedBy@odata.bind":[], <<<<<
 "References@odata.bind":[],
 "PartDocAssociations@odata.bind":[],

Is it possible to add DescribedBy links using 

POST Windchill/servlet/odata/v5/ProdMgmt/CreateAssociations

or 

PATCH Windchill/servlet/odata/v5/ProdMgmt/Parts

?

Is it possible to provide DescribedBy links when creating a part, and what would the syntax be?

 

17-Peridot
October 17, 2023

Maybe the answer is in this article:

"Follow the steps to implement WTPartDescribeLink creation hooks."

https://www.ptc.com/en/support/article/CS285572