Skip to main content
1-Visitor
November 1, 2014
Solved

How to Associate EpmDocument with another EpmDocument in Windchill

  • November 1, 2014
  • 2 replies
  • 2225 views

Hello,

Can any one help me how I can associate EpmDocument with another EpmDocument in Windchill I have two .prt (3D) parts, one .asm (3D) and . two drw files which I want to associate in the Windchill is there any way I can do this please help if any one knows it.

I was trying EPMMemberLink epmMemberLink = EPMMemberLink.newEPMMemberLink(epm, (EPMDependencyMaster) doc.getMaster());

but no use

can any one help me in that ?

Best answer by Neo

Thank you Loori,

Its look like it is possible but there are some chance for data corruption would it be how ever we can test it can we use EPMMemberLink.newEPMMemberLink(epm, (EPMDependencyMaster) doc.getMaster());

to create a link or if you have any other way I can try using wgm api

2 replies

23-Emerald II
November 3, 2014

Ankit,

While the EPMMemberLink API is supported, it is strongly discouraged by PTC Technical Support to use the API to create new member links. The process for creating the data and the links correctly is very complex, and there is a high possibility that such customizations could lead to data corruption.

Rather, we recommend using the CAD authoring tools to create the links between the CAD data.

Both of the following articles provides our stance on this:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS107408

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS175311

Neo1-VisitorAuthorAnswer
1-Visitor
November 5, 2014

Thank you Loori,

Its look like it is possible but there are some chance for data corruption would it be how ever we can test it can we use EPMMemberLink.newEPMMemberLink(epm, (EPMDependencyMaster) doc.getMaster());

to create a link or if you have any other way I can try using wgm api