Skip to main content
Jul 14, 2017 2:32 PM UTC
Solved

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

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?

BenLoosliAnswer
Jul 14, 2017 2:38 PM UTC

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.

7 replies

BenLoosliAnswer
Jul 14, 2017 2:38 PM UTC

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.

jforsythAuthor
Jul 14, 2017 3:01 PM UTC

Thanks.

 

That worked!

Jul 14, 2017 3:26 PM UTC

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.