create_output_variable#

Q2d.create_output_variable(variable, expression, solution=None)[source]#

Create or modify an output variable.

Parameters:
variablestr

Name of the variable.

expression

Value for the variable.

solution

Name of the solution in the format “setup_name : sweep_name”. If None, the first available solution is used. Default is None.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.CreateOutputVariable