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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Truncate filename in repeat region

cying
12-Amethyst

Truncate filename in repeat region

We have a need to truncate the filename to 12 characters in our BOM repeat region. Is there a trick in repeat region that this can be done? Can this be done using relation? If so, has anyone done it and willing to share? 🙂

Thanks!

Calvin

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.
1 REPLY 1
cprice
10-Marble
(To:cying)

Part Number Shows Descriptive Extension – CAUTION – This works when dealing with piece part assemblies! (The assembly has the same name as a part and the part has been assembled into it.)

• A component name is not the standard name. It contains an extension from a family table or a descriptive extension, such as a cable.
• Retrieve the Generic assembly or assembly. Assure that the following parameters exist PART_TYPE and DESCRIPTION. IF they don’t Create them. Set-Up-Parameters-Create-String PART_TYPE, ASSEMBLY, and DESCRIPTION. If it is an assembly with a descriptive extension PART_TYPE needs to be INST.
• Add a relation to generic assembly Relations-Assem Rel-Add, type:
o generic=extract(rel_model_name,1,14) (or last number is length of characters.)
• For Family Tables:
• Add parameters PART_TYPE and DESCRIPTION to family table. Family Tab-Add Item-Parameter-check PART_TYPE and DESCRIPTION.
• Family Tab-Edit change PART_TYPE to INST for each instance, but not the generic. Modify Description to match its same description for that instance.
• Save file and go back to your drawing.
• The Auto table may have to be deleted and placed again for the correction to appear. Try Table-Repeat Region-Update Tables, first. If it has also effected the Format, it will need placed again.


This has been used for years at my previous place of employment

Charlie Price
Strategic Technical Services LLC
Phone 330.887.9295 Desk/Mobile/FAX
Main 888.479.1566x127
charlie.price@stechservices.com
Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags