Federico
Ansys Employee

I would suggest using Named Expressions for this: 5.3. Creating and Using Expressions (ansys.com)