Hello all,
I would like to make a BOM that have in columns
- item number
- Part name
- quantity
- part number (meaning the number of the part's drawing)
- material
But I would like the same BOM to appears in drawing made from .asm files AND in drawings made from .prt files. (I do need it to appear on .prt files to specify the material)
So, to display the part name I tried to write some relation for the repeat region like the following :
if &asm_mbr_name
&asm_mbr_name
else
if &mbr_name
&mbr_name
endif
endif
meaning if the variable &asm_mbr_name is not empty, so display the name an assembly part. Else (if there is no assembly, meaning we are in a .prt file), if the value &mbr_name is not empty then display the part name.
but it does not work
Can anybody tell me where is my mistake please ?
I have also 2 other problems :
- my quantity field is empty even though I've written &rpt.qty in it
- plus, how do I display the part number on a drawing and be sure that it updates if it is changed on the original one ?
Thank you
Edited by: ronfya
I would like to make a BOM that have in columns
- item number
- Part name
- quantity
- part number (meaning the number of the part's drawing)
- material
But I would like the same BOM to appears in drawing made from .asm files AND in drawings made from .prt files. (I do need it to appear on .prt files to specify the material)
So, to display the part name I tried to write some relation for the repeat region like the following :
if &asm_mbr_name
&asm_mbr_name
else
if &mbr_name
&mbr_name
endif
endif
meaning if the variable &asm_mbr_name is not empty, so display the name an assembly part. Else (if there is no assembly, meaning we are in a .prt file), if the value &mbr_name is not empty then display the part name.
but it does not work

Can anybody tell me where is my mistake please ?
I have also 2 other problems :
- my quantity field is empty even though I've written &rpt.qty in it
- plus, how do I display the part number on a drawing and be sure that it updates if it is changed on the original one ?
Thank you
Edited by: ronfya