Skip to main content
12-Amethyst
August 27, 2024
Solved

Parameter Relation

  • August 27, 2024
  • 1 reply
  • 1153 views

Greeting,

 

I don't write bom relations very often. How do I write a simple one for a parameter I have called "material".

 

This is what I put and it does not work. Do I have to change in repeat region?

 

IF asm_mbr_part_number=="MS51957-26"
asm_mbr_material="CRES, PASS"
ENDIF

 

Wayne

Best answer by BenLoosli

Need more information.

what is not working?

Are you using asm_mbr_material in your repeat region for the material column?

Does the part itself have a material parameter and is that what is showing in your BOM that you want to overwrite?

 

Try this:

IF asm_mbr_part_number=="MS51957-26"
material2="CRES, PASS"

else if

material2 = asm_mbr_material

ENDIF

 

Then use rpt.rel.material2 as your repeat driver in the BOM.

1 reply

BenLoosli23-Emerald IIIAnswer
23-Emerald III
August 27, 2024

Need more information.

what is not working?

Are you using asm_mbr_material in your repeat region for the material column?

Does the part itself have a material parameter and is that what is showing in your BOM that you want to overwrite?

 

Try this:

IF asm_mbr_part_number=="MS51957-26"
material2="CRES, PASS"

else if

material2 = asm_mbr_material

ENDIF

 

Then use rpt.rel.material2 as your repeat driver in the BOM.

12-Amethyst
August 27, 2024

Nevermind. It worked! I forgot to add "&".

 

Thanks Ben!