Skip to main content
23-Emerald III
March 18, 2016
Solved

Repeat Region Relation

  • March 18, 2016
  • 1 reply
  • 2293 views

We have the standard bulk item relation in the BOM that sets QQTY to AR if the item is a bulk item part.

I added a second relation that would set the QTY to AR if the number was a certain value. It was a shown item in the drawing, a clamp, that was noted use as many as needed. When I regened the drawing, my item QTY went to AR and the bulk item QTY fields went to blank.

Is there some trick to getting both relations to execute and populate the BOM properly?

Ben

Windchill 10.0 m040

Creo 2.0 m100


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by TomU

Right, The last one wins.  The second relation is changing ALL values back to rpt_qty (except for "TPZ-652").  Just remove the "ELSE" section completely from the second set of relations.  You don't need it.

1 reply

23-Emerald IV
March 18, 2016

Can you share your relations?

BenLoosli23-Emerald IIIAuthor
23-Emerald III
March 18, 2016

IF asm_mbr_type=="BULK ITEM"

QTY="AR"

ELSE

QTY=rpt_qty

ENDIF

IF asm_mbr_pdm_number == "TPZ-562"

QTY="AR"

ELSE

QTY=rpt_qty

ENDIF

With only the first relation for Bulk Items, all of the bulk item QTY fields go to AR.

When I add the second relation, the QTY filed for TPZ-562 goes to AR and the bulk items all go QTY blank.

TomU23-Emerald IVAnswer
23-Emerald IV
March 18, 2016

Right, The last one wins.  The second relation is changing ALL values back to rpt_qty (except for "TPZ-652").  Just remove the "ELSE" section completely from the second set of relations.  You don't need it.