Skip to main content
14-Alexandrite
July 14, 2017
Solved

Creating a user parameter that is linked to a model or system parameter

  • July 14, 2017
  • 1 reply
  • 4450 views

I ahve a Start part that is used every time I create a New Part.

 

I have created a user parameter in my Start Part named PART_NO.  It is a String type of parameter.

 

I would like to know how I can associate this user parameter to the the name of the part.

 

For example if I create a new Part using the above mentioned Start Part and name it TEST1, I would like the User Parameter from the Start PArt, which is named PART_NO, to have the value of TEST1, which is the name of the new part I just created.

 

Hopefully this makes sense.

 

Any suggestions?

Best answer by BenLoosli

Create a relation in your start part that evaluates the model name to your parameter.

 

Part_no = rel_model_name

 

This will take the model name and assign it to your Part_no parameter.

1 reply

BenLoosli23-Emerald IIIAnswer
23-Emerald III
July 14, 2017

Create a relation in your start part that evaluates the model name to your parameter.

 

Part_no = rel_model_name

 

This will take the model name and assign it to your Part_no parameter.

jforsyth14-AlexandriteAuthor
14-Alexandrite
July 14, 2017

Thanks.

 

That worked!

17-Peridot
July 14, 2017

We use that all the time so there isn't any confusioin downstream cause by the user naming the file one thing and then putting in text for Part_no parameter in your example parameter. If you are using Windchill here is another parameter and relation that we are starting to use.

 

TITLE = PTC_COMMON_NAME

 

In the title block of the drawing you can then set that cell to use word wrap.