Skip to main content
10-Marble
December 20, 2023
Question

Out-of-date Equivalence

  • December 20, 2023
  • 1 reply
  • 1133 views

Hello all,

 

I am looking for a full code which will help me to get equivalent link status between upstream part to downstream part

1 reply

10-Marble
December 20, 2023

Please let me know what the things have missed

 

private void getEquivalenceStatus(WTPart UpStreamPart, WTPart DownStreamPart) throws WTPropertyVetoException, WTException {
WTPart newUpstreamPart = PolWTPartHelper.service.getLatestPartBasedOnView(UpStreamPart, upStreamViewName);
WTPart newDownstreamPart = PolWTPartHelper.service.getLatestPartBasedOnView(DownStreamPart, downStreamViewName);
wt.associativity.WTAssociativityHelper.service.getEquivalentStatus(newUpstreamPart );
HelesicPetr
22-Sapphire II
22-Sapphire II
December 20, 2023

Hi @AK_10813265 

What is PolWTPartHelper ? 

It does not exists in API for PDM, MPM Link and also any file or string writen in the file do not contains that helper.

Only WTPartHelper exists.

 

getEquivalentStatus method needs 5 variables, not one as you use the newUpstreamPart

HelesicPetr_0-1703064582380.png

UpsideEquivalentStatus

HelesicPetr_1-1703064609228.png

DownsideEquivalentStatus

HelesicPetr_2-1703064620454.png

PetrH

10-Marble
December 20, 2023

Hi,

 

Sorry PolWTPartHelper is customer code, WTPartHelper is right. can you help me with the complete code, I am looking to get the Out Of Date Downstream Equivalent parts .

 

Akh