Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
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
Solved! Go to Solution.
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.
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.
DOH..a relation. Yeah - it's early. Thanks jBob!
Wayne
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"
Hey Wayne,
Here's an old discussion of this kind of stuff...
Lots of detail, but should get the job done for you.