Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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
Another thing I would like to point out is if I could just do something saying character 3 and 7 to = " "
I think, it is very similar to my answer in http://communities.ptc.com/message/240198#240198
please look at it. If you still have problem -let me know
Regards
gucio