validate_expression#

FieldsCalculator.validate_expression(expression)#

Validate expression file against the schema.

The default schema can be found in pyaedt/misc/fields_calculator.schema.json.

Parameters:
expressiondict

Expression defined as a dictionary.

Returns:
dict or bool

Expression if the input expression is valid, False otherwise.