Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi Can any one help how I can associate WTPart with EPMDocument
Solved! Go to Solution.
EPMDescribeLink link = EPMDescribeLink.newEPMDescribeLink(wtPart, epmDocument);
PersistenceHelper.manager.save(link);
EPMDescribeLink link = EPMDescribeLink.newEPMDescribeLink(wtPart, epmDocument);
PersistenceHelper.manager.save(link);
Thank you Vasiliy for your help I am able to assocaite both the objects
by UI or by code ?
depends of kind of link:
EPMdescribelink is the "content" link. usually used for linking EPMDoc of drawing type
EPMBuild links (Rule and History) have a more complicated behaviour. ... used for 3D models and drives WTPart BOM structure, Creo View Viz and attributes ... (different sub type for this link : owner, image, contributing image ...)
Thank you Gregory for your help,
I am using code to associate wtpart to epmdocument
Be very careful, this is very complex. The CAD relationships can be a combination of links such as build rule links, owner links and describe links and is definitely non-trivial; unless you know exactly what you are doing I would not play with this.