Skip to main content
11-Garnet
October 18, 2024
Question

is there any api to create describeBy doc for a part

  • October 18, 2024
  • 2 replies
  • 460 views

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
October 22, 2024

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,

Catalina | PTC Community Moderator
avillanueva
23-Emerald I
23-Emerald I
October 22, 2024

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.