@rymnd That's expected in v3.4 and earlier. You need to check if the parameter is an expression (I think there is a parameter property for that) and evaluate it using the EvaluateExpression command if it is. @Falcounet may help with the Python specifics.