Combing string and paramter expression (Rename CHOP)

Good day :slight_smile:

I’m struggeling with combinging a textstring together with an expression.

I’m trying to achinve an renaming of multiple CHOPs with a renameto parameter which consists of a string + op referenace to a value + string2 + [x-y]

How would my expression look like in the paramter window?

Where could I find a complete reference to which commands in parameter expressions are avalable?

I’ll appreciate any help :slight_smile:

There are a couple of tricks to this. The most important is to make sure that you’re put your parameter into python mode - the rename fields don’t swap over to python automatically. Next you’ll want to think of everything as a string that you’re joining together. Something like:

'string1_' + str(op( 'table1' )[0, 0].val) + '_string2_' + "[x-y]"

Take a look at this example and see if it makes sense:
base_python_renaming.tox (590 Bytes)