Skip to main content
1-Visitor
February 12, 2014
Question

Map keys and Parameters WF4 or WF5

  • February 12, 2014
  • 2 replies
  • 2194 views

I am new to PRO/E so if there is an easier way to go about this please let me know. My problem is that I need to put a special text on my parts. Currently to place the text I have each letter saved as a sketch and on the palette and then I go and place each letter individual as an extrude. Could I make a parameter called part_name that was a string and was seven letters long, and then create a mapkey that would look at part_name and place the appropriate sketch from the palette?


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.

2 replies

12-Amethyst
February 12, 2014

here is what I do you may be able to adapt it for your needs. I add this realation file_name = rel_model_name

I then create a cosmetic groove and point that to the parameter.

cg.PNG

12-Amethyst
February 12, 2014

oh that is cool i just started theextrude tool and created text with the text tool and selected the parameter. and now i have some sweet extruded letters

1-Visitor
February 12, 2014

This should work, but it's not as easy as one might hope.

Create a family table User Defined Feature (UDF) for the letters.

Create within the part Program (Tools/Program) a lookup replacement for the UDF family table members based on a string parameter.

You place the UDFs on the part and then the program would Replace each instance based on extracting the matching letter of the parameter.

From the Pro/Program help:

RELATIONS

INST_NAME = LOOKUP_INST ("PEG.PRT", 0, "D2", D6:0, "D1", D5:0 + 1) <- Customize for A-Z, 0-9, et al.

END RELATIONS

Then, at the component ...

ADD PART (INST_NAME)

INTERNAL COMPONENT ID 2

PARENTS = 1 (#1)

END ADD