Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello all,
Is there a way to write a relation to where a single parameter can be populated by 2 other parameters? Example:
DESCRIPTION= ************
PTC_MATERIAL_DESC= HR STEEL
GAUGE= 10
MAT_TYPE= GAUGE
DESCRIPTION=="PTC_MATERIAL_DESC""GAUGE""MAT_TYPE"
DESCRIPTION= HR STEEL 10 GAGUE
Thank you for the help!
C
Solved! Go to Solution.
Try this: Material_desc=PTC_Material_name+" "+itos(Gauge)+" "+Mat_type
DESCRIPTION = PTC_MATERIAL_DESC + " " + GAUGE + " " +MAT_TYPE
Unfortunately that did not work. I tried it 3 different ways.
How are the parameters defined? What type are they?
I think GAUGE may be defined as numeric and you cannot mix string and numeric values into a string parameter.
Define GAUGE as a string value, then concatenate them again.
Material_desc=PTC_Material_name+" "+Gauge+" "+Mat_type
All of the parameters are set to string initially. However, when I build relations into the parameters, such as GAUGE, when it is populated it switches to an integer per the relation push.
Try this: Material_desc=PTC_Material_name+" "+itos(Gauge)+" "+Mat_type
That worked! Thanks for all the help!