Repeat Region Relations, Renaming Part Number
PTC Community,
I need some help with something I am trying to accomplish on my drawing. Below I have what is my assembly number 34-096-01.asm. What I would like to do in my repeat region is to take this number and REPLACE my "-" with a "space." Can someone help me?
Currently

What I would like.

I started out my Repeat region relations, I think what I have to do is make a parameter in my region that has a "space" in it, but if someone has a different way to do it, I would like some help.
What I have below is what I started... where I have put "-------" I am having trouble figuring out what to put in there.
IF search (asm_mbr_name,"-") == 0 /*Search for an Dash in the part name
partnum = asm_mbr_name
ELSE
partnum = extract(asm_mbr_name,1, search (asm_mbr_name,"-") -------) /* If name has an Dash, then replace with space.
endif
/* END - part name
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

