cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Parameter Relation

WF_10971917
4-Participant

Parameter Relation

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

ACCEPTED SOLUTION

Accepted Solutions
BenLoosli
23-Emerald II
(To:WF_10971917)

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.

View solution in original post

2 REPLIES 2
BenLoosli
23-Emerald II
(To:WF_10971917)

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.

WF_10971917
4-Participant
(To:BenLoosli)

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

 

Thanks Ben!

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags