Really appreciate your help on this...I guess your approach to set up a new parameter near to RPT.qty is better option compared to all balloon as far as toolkit is concerned..... Still I would prefer not to display RPT.qty in case a/r is the scenario... I will explain my exact requirement in next reply...
Below is my requirements:
I have Customised Bomb table having repeat region as user defined variable for qty,description, part name and index..
First of all, I will insert default bomb and then update all four user defined variables into repeat regions using data from PLM software by setting relations.
It may happen that qty for few cad part in PLM software may be A/R...I am able to put this A/R in Bom table.
Same time, if I use custom balloon with user defined variable of qty, balloon will contain A/r for same component.In this scenario, I am losing default functionality of split...
Custom symbol in balloon with RPT.qty is allowing same behaviour in case of split balllon also but A/R I m missing....
My need is win win situation... To conclude, I need A/r and same time, don't wanna loose out of box function ality of split balloon behaviour...
Hope I have cleared my exact need..feel free to ask in case of any confusion....
Note : I m nt allowed to use new part as bulk part in assembly as change in drw or asm is nt allowed.
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
/* IF BLANK IN QTY PERSISTS AFTER CHANGING BOM TO RELATION, NAME MAY BE TOO SHORT - ADD SPACES
/* bom_name="SP3-12 "
/*GET FIRST THREE CHARACTERS OF PART NAME
/*CHANGE QUANTITY TO AR IF PART CODE INDICATES BULK ITEM
* REMEMBER TO CHANGE TABLE RELATION Qty. TO
/* rpt.rel.bom_qty (rpt > rel > USER DEFINED > type in "bom_qty")
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
I do agree with Christopher Rees... I am in a need to use bom_qty for ballooning to have A/R in ballooning...once this is used, split behaviour of balloon is lost...
I do not have creo in front of me now as I m ooto.... One thought came to my mind and would like to check for the same with you all...
Will set new parameter with RPT.qty for A/R...this new parameter will be just above RPT.qty....
Both will be present for all parts. Is it possible to change the text color (rgb value) from relation of repeat region? If so, my intension is to change color of RPT.qty to white in case of A/R items..
In case of non A/R, I need to set white color for new parameter.
You can't control color with a relation, but I am pretty sure you could with TOOLKIT (although I don't use it myself so I can be positive)
Sorry but I forgot to mention in previous commment.
Please note that new parameter and RPT.qty I mentioned above is in custom bom balloon...not in bom table....where as color change if text I m looking for is into the relation of repeat region...
I can give a try to change color of either RPT.qty or new parameter for each balloons present into drawing file.
I m wondering that even if I succeed in above , will it work with split functionality?
I doubt as I am not doing anything in split functionality through toolkit as well...just doing color change on existing balloons after auto balloon is done....split is user choice once toolkit application scope is over...