add_named_expression#

class ansys.systemcoupling.core.adaptor.api_25_2.add_named_expression.add_named_expression(name=None, parent=None)#

Bases: Command

Creates a named expression object in the data model. If there is already an object in the data model whose expression_name matches the provided expression_name, its expression_string will be overwritten with the provided expression_string

Parameters:
expression_namestr

The name by which this expression should be referenced when used in another expression.

expression_stringstr

String containing the definition of the expression.

Included in:

Parent

Summary

setup_root

‘root’ object