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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to remove all part-number which is having underscore "_" in there name from repeat region table?

ppandarkar-2
15-Moonstone

How to remove all part-number which is having underscore "_" in there name from repeat region table?

Hi,

 

We are having part type as BOM or Non BOM (Dummy), BOM means actually going to production and dummy is just to show ( not mfg.). So in model tree we have dummy parts with extension as underscore "_"  e.g. 123456789012_BRACKET ( Non BOM). and we want to show its BOM number in repeat region as 123456789012 and for other component which is having BOM number will show as it is.

 

So please can anyone help me to do this through repeat region options or toolkit program.

 

 

Thanks,

Prashant Pandarkar

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

I got the answer from PTC community.

Truncate Filename in BOM Repeat Region

Thanks All.

- Prashant Pandarkar

View solution in original post

2 REPLIES 2

Hi,

I got the answer from PTC community.

Truncate Filename in BOM Repeat Region

Thanks All.

- Prashant Pandarkar

Add a repeat region relation such as:

NAME = ASM_MBR_NAME

if Search(ASM_MBR_NAME, "_") != 0

NAME=extract(ASM_MBR_NAME,1,Search(ASM_MBR_NAME, "_")-1)

endif

Then add a column "rep.rel.NAME" instead of "asm.mbr.name"

Top Tags