create_output_variable#
- Maxwell2d.create_output_variable(variable, expression, solution=None, context=None)#
Create or modify an output variable.
- Parameters:
- variable
str
,optional
Name of the variable.
- expression
str
,optional
Value for the variable.
- solution
str
,optional
Name of the solution in the format “name : sweep_name”. If None, the first available solution is used. Default is None.
- context
list
,str
,optional
Context under which the output variable will produce results.
- variable
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oModule.CreateOutputVariable