Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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.
Interesting that nobody has responded yet.
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.
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
@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?
Maybe the answer is in this article:
"Follow the steps to implement WTPartDescribeLink creation hooks."
https://www.ptc.com/en/support/article/CS285572