# ::hwat::solver::ChangeFormulation

Changes the formulation for displayed components to the desired value if required.

## Syntax

::hwat::solver::ChangeFormulation str_newForm {str_OldForm}

## Arguments

str_newForm
Desired formulation.
str_oldForm
If this argument is provided, then the components having this formulation will be changed to the new formulation and all others will be left as they are.
Optional.

## Returns

Success
The number of components changed.
Failure
{}

## Example

::hwat::solver::ChangeFormulation $NewFormulation ::hwat::solver::ChangeFormulation$NewFormulation \$OldFormulation