Skip to main content
Jul 3, 2018 2:39 AM UTC
Question

BOM Table QTY Multiplied by Top Level Assembly Parameter

Hello All,

I am trying to multiply the quantity of components in a BOM tables based on a parameter from the top level assembly.

 

I usually do this by repeat region -> relations then clicking my BOM table. I add the following under relations;

 TOTAL =rpt_qty * X                   Where X is a dumb value I type in eg 7.

 

I then right click on the first instance in the bom table -> Properties and replace the text to;

&rpt.REL.TOTAL

 

This works quite well but now I want to take it a step further and instead of manually entering a dumb value, I would like the relation to pull a value from the top level assembly. I noticed the Insert parameter name from list button is grayed out while I edit the repeat region relation, but by being able to enter a dumb value to multiply by, surely there is a way to create the link I need.

 

When I try add a parameter from any level assembly, I receive an invalid symbol error, as if the relation doesn't go looking for the directed value.

  

Any help would be muchly appreciated

7 replies

Jul 3, 2018 7:56 AM UTC

Try this:

 

  1. Open your part and add a parameter QTY_MULTIPLIER with a value of 7
  2. Open the drawing of your assembly, and open the relations of your repeat region.
  3. Now add a parameter ASM_MBR_QTY_MULTIPLIER
  4. Change your rellation to:  TOTAL =rpt_qty * ASM_MBR_QTY_MULTIPLIER

That should pull the value of QTY_MULTIPLIER from the part.

 

You can change the value of QTY_MULTIPLIER from your part. If you want to control it from your assembly, you can use EXECUTE STATEMENTS to drive the input parameters of your part.

Jul 3, 2018 10:24 PM UTC

Hello,

Thanks for your reply. Unfortunately that wont be suitable for my application, I want to avoid adding a parameter to each individual part. This is because I use the same part in multiple assemblies, eg bolts. 

 

Ideally I'd like to create a link between the region relations and an assembly parameter. The region is on a drawing of the assembly I'd like to pull parameter value from.

Jul 3, 2018 10:33 PM UTC

Repeat region relations can not change or impact model (or drawing) parameters.  They only affect the data in the repeat region itself.  The assembly can never be a child of (dependent on) the drawing.

 

Maybe it would be good to step back and ask why you need to fake the component quantity.  There may be other/better solutions available.