Skip to main content
11-Garnet
Oct 18, 2024 7:10 AM UTC
Question

is there any api to create describeBy doc for a part

when part move to a particular, through code i am trying to create WTDoc and i was able to create WTDoc but it does not link to WTPart through describeBy link. So is it possible to create WTDoc with describeBy link with WTPart through code.

2 replies

Catalina
Community Moderator
Oct 22, 2024 8:29 AM UTC

Hi @SB_10904295,

Thank you for your question!

It appears that your post has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,

Translate
Catalina | PTC Community Moderator
avillanueva
23-Emerald II
Oct 22, 2024 7:14 PM UTC

Yes, this is possible:

WTPartDescribeLink link=WTPartDescribeLink.newWTPartDescribeLink(board,doc);
 PersistenceHelper.manager.save(link);

My board is a WTPart and the doc is a WTDocument. 

Translate