casemapimage#

ens_calculator.casemapimage(part: int, variable: ENS_VAR | str | int, vport: int, undefvalue: float, output_varname: str | None = None) ENS_VAR#
Computes a scalar variable by projecting a 2d image to a 3d geometry given the view in a specific viewport
part:

Enter the part to map the variable from.

variable:

A scalar variable.

vport:

Enter Viewport number for 3D model in correct camera orientation

undefvalue:

Enter value limit - value under which the variable will be Undefined

output_varname:

The name of the newly created variable

Returns:

New ENS_VAR instance or None

Note:

See CaseMapImage() for function details.