Creo 2, M230
I have two components in this assy that I want on the BOM but not to show in the 3D assy. So, I've used the "include" function which adds the part to the assy without actually assembling it.
When I create my BOM in the drawing, I'd like a way to distinguish them because they will not be shown on the exploded view. Ideally they'd be at the end of the BOM as well.
I'm thinking some kind of relations that finds "included" components and makes their index "NS" (Not Shown) or something like that. How are others doing this? Is there a way to find included items via repeat region relations?
Message was edited by: Doug Schaefer - Image added
OK, I'm closer.
First, these are called "unplaced" components, which helped in searching.
Second, I discovered that this works:
IF asm_mbr_location_all_views == "-"
index = "NS"
ELSE
index = rpt_index
ENDIF
One problem is that it will pick up hidden components too. Ideally I'd like to find the unplaced directly, but I think I can make this work.
However, the index numbers are still assigned and there are then gaps in the list:
Any way to correct that? I may have to filter them out and add a second table that only includes those unplaced items.
Lock the table before adding those components to the assembly. Then add them and they should go to the top of BOM.
I was able to make that work by suppressing them, fixing the index on the region and resuming them.
Still wish there was a more direct way, but I think I can make these options work.
I typically change BOM entries explicitly, something like:
index = rpt_index
IF asm_mbr_name == "30526"
index = "NS"
ENDIF
IF asm_mbr_name == "30518"
index = "NS"
ENDIF
Then either add a Sort by the rpt.rel.index column or use Fix Index to force those items to the bottom (or top). If your relations are working like you want, then you could continue to use them and just add a Sort or Fix Index to get the order correct.
You could add a row at the bottom of the table and create a new repeat region. The you could filter it to only show the "not shown" parts.