validate_expression#

FieldsCalculator.validate_expression(expression: dict) dict | bool#

Validate expression file against the schema.

The default schema can be found in src/ansys/aedt/core/misc/config.schema.json.

Parameters:
expressiondict

Expression defined as a dictionary.

Returns:
dict or bool

Expression if the input expression is valid, False otherwise.