Skip to main content
1-Visitor
June 3, 2015
Question

Bom Split Balloon Issue

  • June 3, 2015
  • 2 replies
  • 8753 views

I have created a BOM table with repeat region, and given user defined parameters.

for example, I have replaced rpt.qty with ABC_QTY.

if asm_mbr_name == "P123456-002"

ABC_IDX = "0001"

ABC_DESC = "<DRAWING TITLE>"

ABC_QTY = "A/R"

ABC_PRT_NO = asm_mbr_name

and i have created custom balloon with ABC_IDX as index and ABC_QTY as qty.

So when i create the balloons for the first time it's working fine.

For this custom symbol split functionality is not working properly.

i.e if ABC_QTY = 2, then split balloons also have 2 as quantity in both the parts,

different behavior from creo's, which will split the quantity and both the balloon will have 1 as quantity.

Please suggest some solution, how to tackle this issue.

Any help is much appreciated.

Cheers!!


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.

2 replies

21-Topaz I
June 3, 2015

The split QTY is only going to work correctly if you are using rpt.qty. The software doesn't know that your ABC_QTY parameter is the quantity of the part.

lpandya1-VisitorAuthor
1-Visitor
June 3, 2015

Okay. But is there a way to assign my ABC_QTY to rpt.qty of creo? some configuration or something like that?

21-Topaz I
June 3, 2015

You can't change rpt.qty. It is defined by the software and there is no way to over ride it. The way we handle what you are trying to do is to assign an alternate symbol for the A/R balloons. The rpt.qty would then get changed in a new balloon symbol to text that reads A/R. Then you replace in the drawing as needed with the alternate balloon.

12-Amethyst
June 3, 2015

Similar to what you are looking for:

This is just a partial extract.  We only change to make the output to A/R, otherwise the rpt.qty=bom_qty

No affect to the standard split balloon.

In our Bom relation:

/*****QTY TO AR*****
/* ASSIGN THE MODEL NAME AND QUANTITY TO PARAMETERS
bom_qty=rpt_qty
bom_name=asm_mbr_name
bom_nomen=""

/* IF BLANK IN QTY PERSISTS AFTER CHANGING BOM TO RELATION, NAME MAY BE TOO SHORT - ADD SPACES
/*if bom_name=="SP3-12"
/* bom_name="SP3-12  "
/*ENDIF

/*GET FIRST THREE CHARACTERS OF PART NAME
name_check=EXTRACT(bom_name,1,3)

/*CHANGE QUANTITY TO AR IF PART CODE INDICATES BULK ITEM
IF name_check=="119"
bom_qty="AR"
ENDIF

IF name_check=="M76"

bom_name="M76MWPC207A9"

bom_qty="AR"

ENDIF

/*SPECIAL CASES

IF bom_name=="795-0525"

bom_qty="AR"

ENDIF

IF bom_name=="M23053-5-109-0"

bom_qty="AR"

ENDIF

* REMEMBER TO CHANGE TABLE RELATION Qty. TO

/* rpt.rel.bom_qty   (rpt > rel > USER DEFINED > type in "bom_qty")

ron

21-Topaz I
June 3, 2015

This works for the standard balloon (because it still uses the rpt.qty) and updates the BOM table, but it will not work for a custom balloon that doesn't use rpt.qty