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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Wants to change the association between WT part and EPM document

ptc-46425
1-Newbie

Wants to change the association between WT part and EPM document

Sir,

let me explain the senario,

First we created EPM document using java program and created WT part using “windchill wt.load.LoadFromFile –d c:\PTC\dummy\part.xml - CONT_PATH /wt.inf.container.OrgContainer=AL/wt.pdmlink.PDMLinkProduct=H4” script(OOTB Script).

To make connection between WT part and EPM document we used

windchill wt.load.LoadFromFile –d c:\PTC\dummy\partepmlinkloader.xml” Script.

Now the problem is WT part and EPM document associated under context relationship. Because of that not able to change the revision ,state for the WT part.

Normally WT part and EPM document should have owner association. So we request you to suggest how to change the association from context to owner. Matter is urgent we migrated almost 17000 parts.

For any clarification please call me at 9841723216 or mail to vsiva.alvvc@ashokleyland.com

Regards,

V. Sivakumar.

3 REPLIES 3

Hello

Can you give an example of the content of the 2nd xml file ?

cause I don't know if there's an OOTB script to create owner link

content link is a "basic" and easy to create describe link

But owner link is more complicated, as it is a "double* link (BuildRule + Buildhistory) and it synchronise and drive the WTpart BOM

Anyway. you are able to import WTpart BOM with associated owner 3D CADDocs with the OOTB import/export tool.

regards

Gregory

This is the sample xml file.

<?xml version="1.0" ?><!DOCTYPE NmLoader SYSTEM "standardX20.dtd">
<NmLoader>
<csvPartEPMDocDescribes handler="wt.epm.LoadEPMDoc.createPartEPMDocDescribes" >
<csvfileName>FPartMigrationCheck.PRT</csvfileName>
<csvdocVersion>#</csvdocVersion>
<csvdocIteration>1</csvdocIteration>
<csvpartNumber>FPartMigrationCheck</csvpartNumber>
<csvpartVersion>#</csvpartVersion>
<csvpartIteration>1</csvpartIteration>
<csvpartView></csvpartView>
<csvpartVariation1></csvpartVariation1>
<csvpartVariation2></csvpartVariation2>
<csvorganizationName></csvorganizationName>
<csvorganizationID></csvorganizationID>
</csvPartEPMDocDescribes>

</NmLoader>

Yes this one is only to create content link .... not owner link ...

And nothing in the loader to create owner link...

Top Tags