HyperWorks Tools

::hwat::solver::ChangeFormulation

::hwat::solver::ChangeFormulation

Previous topic Next topic No expanding text in this topic  

::hwat::solver::ChangeFormulation

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::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

Optional - 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.

 

RETURNS

The number of components changed.

 

EXAMPLE

::hwat::solver::ChangeFormulation $NewFormulation

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

 

Comments

If the components are already in the new formulation specifed, then no change is made.

This function only operates on the displayed elements.  Elements not on the display will not be modified.

 

See also

Solver Functions