I have a component in an assembly that I want to include in a BoM on
the drawing (a repeat region) but I need to change the name that
appears in the BoM.
The name I want is stored in the family table of the assembly.
I've tried a number of different techniques but the best I can get is
a blank entry in the relevant column.
I've created a relation in the drawing's repeat region (see below)
which detects the incorrect part name (1st line) and should substitute
the correct name (label_part_no) to a parameter (my_part_no). The
remaining lines make sure anything that doesn't match is processed
normally. The repeat region then enters the parameter my_part_no into
the relevant column. This generates a table with a blank entry.
If I substitute "this is a test" for label_part_no , I get the text
entered into the column !!
if asm_mbr_name == "FAN_SIZE_60"
my_part_no = label_part_no
my_part_no = asm_mbr_name
Does anyone have any suggestions ?
- posted 17 years ago