Skip to main content
1-Visitor
May 19, 2021
Solved

Hiding specified value in a BOM

  • May 19, 2021
  • 1 reply
  • 2393 views

I'm just looking to hide the value of a specific parameter value in my drawing. For example, something along the lines of

 

if asm_mbr_cagecode = "2233"

then asm_mbr_cagecode="    "

 

I have a few parts in my smart BOM that need this parameter hidden if they are a certain value.

Best answer by MartinHanak

@kspabs wrote:

I'm just looking to hide the value of a specific parameter value in my drawing. For example, something along the lines of

 

if asm_mbr_cagecode = "2233"

then asm_mbr_cagecode="    "

 

I have a few parts in my smart BOM that need this parameter hidden if they are a certain value.


Hi,

in repeat region relations you cannot change model parameter values.

Use relation similar to following:

IF asm_mbr_cagecode = "2233"
my_cagecode = " "
ELSE
my_cagecode = asm_mbr_cagecode
ENDIF

And put &rpt.rel.my_cagecode in the table column.

1 reply

24-Ruby III
May 20, 2021

@kspabs wrote:

I'm just looking to hide the value of a specific parameter value in my drawing. For example, something along the lines of

 

if asm_mbr_cagecode = "2233"

then asm_mbr_cagecode="    "

 

I have a few parts in my smart BOM that need this parameter hidden if they are a certain value.


Hi,

in repeat region relations you cannot change model parameter values.

Use relation similar to following:

IF asm_mbr_cagecode = "2233"
my_cagecode = " "
ELSE
my_cagecode = asm_mbr_cagecode
ENDIF

And put &rpt.rel.my_cagecode in the table column.

kspabs1-VisitorAuthor
1-Visitor
May 20, 2021

I have run into an issue when adding this relation. I have a split BOM, with the relation:


myindex=rpt_index+53

 

With the column parameter: &rpt.rel.myindex

 

After adding the cagecode relation my find numbers and quantities have broken. Entries that have been manually fixed to a value, the Find No and Qty have gone blank since adding the cagecode relation. Any clue why?

kspabs1-VisitorAuthor
1-Visitor
May 20, 2021

Awesome, this is great to know. I've only been working on Creo for a little over 2 years and it isn't too intuitive so I have a lot to learn still.

 

EDIT:

 

So even doing this on a brand new BOM table, it is still breaking the find number and qty on hardware in my table. Any clue?

 

Fixed this by changing the paramter FROM rpt.rel.num TO rpt.qty