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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Add Parameter to Parameter

wfalco
16-Pearl

Add Parameter to Parameter

All,

 

I feel I have done this before.

 

How do I add parameters to a parameter?

 

I have parameter "title_1". It is assigned the name "washer". I would like to add ID OD & THK parameters on end.

For example washer, .265 ID X .500 OD X .032 THK.

 

Maybe too early for me. Can this be done?

 

Wayne

Creo 4.0

ACCEPTED SOLUTION

Accepted Solutions
jbob
12-Amethyst
(To:wfalco)

create a parameter called description, then write a relation something like this

 

description = ID + "ID" + "X" + OD + "OD" + "X" + THK + "THK"

 

this may seem a bit confusing because you will have parameters called ID, OD, & THK and you want to add

text after the parameters.

View solution in original post

4 REPLIES 4
jbob
12-Amethyst
(To:wfalco)

create a parameter called description, then write a relation something like this

 

description = ID + "ID" + "X" + OD + "OD" + "X" + THK + "THK"

 

this may seem a bit confusing because you will have parameters called ID, OD, & THK and you want to add

text after the parameters.

wfalco
16-Pearl
(To:jbob)

DOH..a relation. Yeah - it's early. Thanks jBob!

Wayne

BenLoosli
23-Emerald II
(To:jbob)

Simplified version, after you convert your real variables ID, OD and THK to strings.

 

description = title_1 +", " + ID + " ID X" + OD + " OD X" + THK + " THK"

 

KenFarley
21-Topaz I
(To:wfalco)

Hey Wayne,

Here's an old discussion of this kind of stuff...

Parameters to Text Discussion

Lots of detail, but should get the job done for you.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags