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

conditional formatting in BOM

Highlighted
Newbie

conditional formatting in BOM

Can someone help me with the following:

When an article in an assembly comes from a certain supplier I want to hide the stocknumber of that particulair part in the BOM

Changing all the separate parts is too much work so I want to apply the filter in the drawing of the assembly.

So far I have tried to apply conditional formatting in the region relations of the drawing of the assembly

if asm_mbr_modelnaam2=="X"

asm_mbr_artikelnummer="-"

endif

But nothing happens.......what could be the cause?

the columns appear in the sort region text as  &rpt.rel.modelnaam2 and &asm.mbr.artikelnummer but entering those texts can not be verified

2 REPLIES 2
Highlighted

Re: conditional formatting in BOM

I don't know if it is a language thing...

Default in the US version is   "asm_mbr_name"   is this the same as your "asm_mbr_modelnaam2"?

if not then you need to add in the beginning:

asm_mbr_name=asm_mbr_modelnaam2

ron

Highlighted

Re: conditional formatting in BOM

Suzanne,

I created test data in CR2 M070...

Open bom_drawing.drw and set model tree column for MODELNAAM2.

pic1.png

In model tree, change empty string to X and update drawing sheet.

pic2.png

Repeat region definition:

pic3.png

Repeat region relations:

if asm_mbr_modelnaam2=="X"

  ARTIKELNUMMER2="-"

else

  ARTIKELNUMMER2=asm_mbr_name

endif


Martin Hanak


Martin Hanák
Announcements