evaluate#

variables.evaluate(p0: str) int#

Creates a computed variable.

The expression must conform to one of the many supplied general functions or proper math or calculator operations within EnSight. It is subject to all the limitations of such, so please familiarize yourself with these.
Args:
p0:

‘expression’ expression needed to create a computed variable

Examples:
ensight.part.select_all()
ensight.variables.activate_all()
ensight.variables.evaluate("Area = Area(plist)")
ensight.variables.evaluate("Grad = Grad(plist,temperature)")
ensight.variables.evaluate("CmplxTransResp = CmplxTransResp(plist,c_scalar,90.0)")
Returns:

zero on success, non-zero on error

See also:

Calculator Functions