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

Community email notifications are disrupted. While we are working to resolve, please check on your favorite boards regularly to keep up with your conversations and new topics.

Finding EPM Documents active related part

dthompson
2-Guest

Finding EPM Documents active related part

Hi
We have a workflow expression robot that needs to find the Active Related
WTpart linked to the CAD EPM Document Object. Does anyone have an example
of Java with the PDMLink methods to accomplish this that they could share
?

We are migrating from 8.x to 9.x and the method we are using in 8.x
workflow seems to no longer be available in 9.x, any help is appreciated.

Our current method robot does as follows:
Uses a query to find objects on a baseline.
wt.fc.QueryResult qr =

wt.vc.baseline.BaselineHelper.service.getBaselineItems((wt.vc.baseline.Baseline)refBL);
Loops through the baseline objects and if a CAD .prt or .asm, attempts to
find the Active WtPart linked to it.
The method call we use in our 8.x environment is:
wt.fc.WtObject tPrtx;
tPrtx = wt.epm.structure.StructureServiceUtility.getBuildPart(tPrt1);
tPrt1 is the CAD EPMDocument Object.



Don Thompson
Desk: 616-654-5292
Cell: 616-836-8761
Location: 0442
0 REPLIES 0
Top Tags