Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi,
Can someone help me to create a relation in a bom to change a parameter to another number for cage_code? I have something at the bottom of the relation in the bom table that is obviously incorrect.
I have attached a simple drawing in creo 8. If you can perform the task and return to me then I will understand how it is done. Should only take a guru less than 5 minutes.
Wayne
Solved! Go to Solution.
IF asm_mbr_part_number=="12345"
BOM_CAGE_CODE="96906"
ELSE
BOM_CAGE_CODE=asm_mbr_cage_code
ENDIF
The one additional step is to use &rpt.rel.bom_cage_code in your cell in the BOM.
Here are instructions to create the relations to change specific Cage_Codes. Hope this helps.
Thank you! I will give it a shot
I am not getting this to work. Is it possible you can edit the sample I sent and send it back? I will see what you did to get it to work.
Is it possible to say IF the part_number parameter is XXX that this is cage_code?
What happens if the cage code is empty from the start?
I did this in Creo+ (13.1). Here is what I got to work:
IF asm_mbr_part_number=="12345"
my_cage_code="96906"
ELSE
my_cage_code=asm_mbr_cage_code
ENDIF
I did step 2 above to create my_cage_code in the table
IF asm_mbr_part_number=="12345"
BOM_CAGE_CODE="96906"
ELSE
BOM_CAGE_CODE=asm_mbr_cage_code
ENDIF
The one additional step is to use &rpt.rel.bom_cage_code in your cell in the BOM.
What am I doing wrong?
Is BOM_CAGE_CODE in your Local Parameters list as a string.
Got it. Thanks!!!!
