Page 1 of 1

Evaluate value of a parameter in a parameter set

Posted: Wed Jul 22, 2009 7:50 pm
by shankar_ramanath
Here is the situation

I have a parameter set. Let us say, psA

There is one parameter defined in this parameter. Let us say, firstParamA which has a value of "ABC"

I have another parameter set psB which has one parameter firstParamB from which I need to get the value of "ABC"

If I define psB.firstParamB = psA.firstParamA, the value passed is psA.firstParamA whereas I need the value defined for psA.firstParamA.

In other words, I need the equivalent of an eval function such that I could do define

psB.firstParamB = eval(psA.firstParamA) so that at run-time psA.firstParamA gets evaluated/interpreted and provides the value of "ABC"

Is this possible?

Many thanks,

Posted: Wed Jul 22, 2009 8:37 pm
by chulett
Short answer? No.

Slightly longer answer... there's no ability to do the multiple levels of resolution (your 'eval') that you are looking for.

Not saying that there is no workaround of any kind, but nothing is popping into my head at the moment so just answering the question as asked.

Posted: Wed Jul 22, 2009 8:39 pm
by nagarjuna
I dont think that you can assign one parameter to another parameter . But still there is a way to edit value files from back end .please correct me if i ma wrong

Posted: Wed Jul 22, 2009 10:14 pm
by ray.wurlod
That's the values files that form part of the Parameter Set. But even so it has to be done prior to use. The only solution of which I am aware is to use a hierarchy of sequences.