Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
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
Solved! Go to Solution.
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.
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.
Nevermind. It worked! I forgot to add "&".
Thanks Ben!