passing a variable in the Set Property fore a columnHi all,
can somebody explain how I can pass a variable into, for example, spec limits?
I want the spec limit for the column "dt:frac" to be "uls_value"
So I define the value:
usl_value=0.05;
and then I tried:
- dt:frac <
- dt:frac <
- dt:frac <
They are all scriptable but none does the trick.
Thanks
ScriptingRe: passing a variable in the Set Property fore a columnIn JSL lists are unevaluated, so anything within a list that you want evaluated you'll need to wrap in an Eval( Eval Expr( ... ) ) function, such as this:
Eval( Eval Expr(
dt:frac << Set Property( "Spec Limits", {USL( Expr( usl_value ) ), Show Limits( 1 )} )
) )