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

Awesome, this is exactly what I was looking for. Thanks for the help. I learned Creo just using dummy BOMs and manually doing everything, but since taking the time to learn how to use Repeat Region I've saved myself alot of time.