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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

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

nmanjunathappa
1-Newbie

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

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

4 REPLIES 4

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

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

rleir
17-Peridot
(To:Docserta)

@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?

 

rleir
17-Peridot
(To:rleir)

Maybe the answer is in this article:

"Follow the steps to implement WTPartDescribeLink creation hooks."

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

 

Top Tags